Mercurial > pub > Impl
diff Lib/IMPL/Web/TT/Control.pm @ 108:c6fb6964de4c
Removed absolute modules
Updated DOM model, selectNodes can now select a complex path
Web DOM model release candidate
author | wizard |
---|---|
date | Fri, 14 May 2010 16:06:06 +0400 |
parents | 0e72ad99eef7 |
children | ddf0f037d460 |
line wrap: on
line diff
--- a/Lib/IMPL/Web/TT/Control.pm Thu May 13 03:46:29 2010 +0400 +++ b/Lib/IMPL/Web/TT/Control.pm Fri May 14 16:06:06 2010 +0400 @@ -1,12 +1,13 @@ package IMPL::Web::TT::Control; -use base qw(IMPL::DOM::Node); +use base qw(IMPL::Web::TT::Collection); use IMPL::Class::Property; __PACKAGE__->PassThroughArgs; BEGIN { + public property controlClass => prop_all; public property template => prop_all; public property id => prop_all; } @@ -18,6 +19,7 @@ $this->template($args{template}) if $args{template}; $this->id($this->nodeName . '-' . $nextId++); + $this->controlClass($args{controlClass} || 'Control'); } sub Render {