diff Lib/IMPL/Web/TT/Document.pm @ 127:0dce0470a3d8

In the IMPL::Web::ControllerUnit added the ability to notify a form about a wrong data from a transaction added a relativeUrl function for a usage from a templates IMPL::Web::TT::Form now fully functional
author wizard
date Fri, 11 Jun 2010 20:21:07 +0400
parents 92c850d0bdb9
children 44977efed303
line wrap: on
line diff
--- a/Lib/IMPL/Web/TT/Document.pm	Fri Jun 11 04:29:51 2010 +0400
+++ b/Lib/IMPL/Web/TT/Document.pm	Fri Jun 11 20:21:07 2010 +0400
@@ -83,6 +83,12 @@
     }
 }
 
+sub resolveVar {
+	my ($this,$var) = @_;
+	
+	return $this->context->stash->get($var);
+}
+
 sub registerControlClass {
 	my ($this, $controlClass, $type, $args) = @_;