diff Lib/IMPL/Web/QueryHandler/PageFormat.pm @ 77:9d24db321029

Refactoring Web::TT docs
author wizard
date Fri, 02 Apr 2010 20:18:46 +0400
parents 2840c4c85db8
children 964587c5183c
line wrap: on
line diff
--- a/Lib/IMPL/Web/QueryHandler/PageFormat.pm	Wed Mar 31 16:17:13 2010 +0400
+++ b/Lib/IMPL/Web/QueryHandler/PageFormat.pm	Fri Apr 02 20:18:46 2010 +0400
@@ -4,7 +4,7 @@
 __PACKAGE__->PassThroughArgs;
 
 use IMPL::Class::Property;
-use IMPL::Web::TDocument;
+use IMPL::Web::TT::Document;
 use File::Spec;
 use Error qw(:try);
 
@@ -23,12 +23,12 @@
 sub Process {
 	my ($this,$action,$nextHandler) = @_;
 	
-	my $doc = new IMPL::Web::TDocument();
+	my $doc = new IMPL::Web::TT::Document();
 	
 	try {
 		my @path = split /\//, $ENV{PATH_TRANSLATED};
 		
-		$doc->loadFile ( File::Spec->catfile($this->templatesBase,@path), $this->templatesCharset );
+		$doc->LoadFile ( File::Spec->catfile($this->templatesBase,@path), $this->templatesCharset );
 		
 		$action->response->contentType('text/html');
 		my $hOut = $action->response->streamBody;