comparison Lib/IMPL/Web/QueryHandler/PageFormat.pm @ 144:b56ebc31bf18

Empty nodes no more created while transforming a post request to the DOM document minor speed improvements to the object CTOR caching Added support for a secure processing (and 'laundering' ) a CGI parameters Many minor fixes
author wizard
date Tue, 13 Jul 2010 02:05:38 +0400
parents fb896377389f
children 60fd224f3e3c
comparison
equal deleted inserted replaced
143:d9dd3500ead3 144:b56ebc31bf18
70 pop @pathContainer; 70 pop @pathContainer;
71 71
72 $doc->LoadFile ( File::Spec->catfile($this->templatesBase,@path), $this->templatesCharset, $this->templatesBase ); 72 $doc->LoadFile ( File::Spec->catfile($this->templatesBase,@path), $this->templatesCharset, $this->templatesBase );
73 73
74 $doc->AddVar( result => $nextHandler->() ); 74 $doc->AddVar( result => $nextHandler->() );
75 $doc->AddVar( action => $action );
75 $doc->AddVar( app => $action->application ); 76 $doc->AddVar( app => $action->application );
76 77
77 $doc->AddVar( absoluteUrl => sub { join '/', @root, $_[0] } ); 78 $doc->AddVar( absoluteUrl => sub { join '/', @root, $_[0] } );
78 $doc->AddVar( baseUrl => sub { join '/', @root, @base, $_[0] } ); 79 $doc->AddVar( baseUrl => sub { join '/', @root, @base, $_[0] } );
79 $doc->AddVar( relativeUrl => sub { join '/', @root, @base, @pathContainer,$_[0] } ); 80 $doc->AddVar( relativeUrl => sub { join '/', @root, @base, @pathContainer,$_[0] } );