comparison 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
comparison
equal deleted inserted replaced
126:c8dfbbdd8005 127:0dce0470a3d8
81 ) 81 )
82 ) 82 )
83 } 83 }
84 } 84 }
85 85
86 sub resolveVar {
87 my ($this,$var) = @_;
88
89 return $this->context->stash->get($var);
90 }
91
86 sub registerControlClass { 92 sub registerControlClass {
87 my ($this, $controlClass, $type, $args) = @_; 93 my ($this, $controlClass, $type, $args) = @_;
88 94
89 $type ||= 'IMPL::Web::TT::Control'; 95 $type ||= 'IMPL::Web::TT::Control';
90 96