diff 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
line wrap: on
line diff
--- a/Lib/IMPL/Web/QueryHandler/PageFormat.pm	Thu Jul 08 23:46:49 2010 +0400
+++ b/Lib/IMPL/Web/QueryHandler/PageFormat.pm	Tue Jul 13 02:05:38 2010 +0400
@@ -72,6 +72,7 @@
 		$doc->LoadFile ( File::Spec->catfile($this->templatesBase,@path), $this->templatesCharset, $this->templatesBase );
 		
 		$doc->AddVar( result => $nextHandler->() );
+		$doc->AddVar( action => $action );
 		$doc->AddVar( app => $action->application );
 		
 		$doc->AddVar( absoluteUrl => sub { join '/', @root, $_[0] } );