Mercurial > pub > Impl
comparison Lib/IMPL/Web/View/TTDocument.pm @ 285:546957c50a36
*IMPL::Web::Handler::TTView Reworked template selection mechanism
*IMPL::Web::Application: refactoring
-Removed obsolete IMPL::Text modules
author | cin |
---|---|
date | Mon, 18 Feb 2013 02:55:59 +0400 |
parents | bbc0da7ef90e |
children | d357b5d85d25 |
comparison
equal
deleted
inserted
replaced
284:f2a6bc5f3184 | 285:546957c50a36 |
---|---|
55 my $doc = $self; | 55 my $doc = $self; |
56 die new IMPL::Exception("A document is destroyed or invalid") unless $doc; | 56 die new IMPL::Exception("A document is destroyed or invalid") unless $doc; |
57 $doc->RequireControl(@_); | 57 $doc->RequireControl(@_); |
58 }); | 58 }); |
59 | 59 |
60 $this->templateVars(context => $vars); | |
61 | |
62 $this->templateVars(document => sub { $self } ); | 60 $this->templateVars(document => sub { $self } ); |
63 $this->InitInstance($vars); | 61 $this->InitInstance($vars); |
64 } | 62 } |
65 | 63 |
66 sub templateVars { | 64 sub templateVars { |