Mercurial > pub > Impl
comparison Lib/IMPL/Web/Application/ControllerUnit.pm @ 148:e6447ad85cb4
DOM objects now have a schema and schemaSource properties
RegExp now can launder data
Improved post to DOM transformation (multiple values a now supported)
Added new axes to navigation queries: ancestor and descendant
minor changes and bug fixes
author | wizard |
---|---|
date | Mon, 16 Aug 2010 08:26:44 +0400 |
parents | 60fd224f3e3c |
children | 3f09584bf189 |
comparison
equal
deleted
inserted
replaced
147:c2aa10fbb396 | 148:e6447ad85cb4 |
---|---|
70 schema => $info | 70 schema => $info |
71 }; | 71 }; |
72 } elsif (ref $info eq 'HASH') { | 72 } elsif (ref $info eq 'HASH') { |
73 die new IMPL::Exception("A schema must be specified",$self,$method) unless $info->{schema}; | 73 die new IMPL::Exception("A schema must be specified",$self,$method) unless $info->{schema}; |
74 | 74 |
75 $self->class_data(CONTROLLER_METHODS)->{$method} = { | 75 $info->{wrapper} = 'FormWrapper'; |
76 wrapper => 'FormWrapper', | 76 |
77 schema => $info->{schema}, | 77 $self->class_data(CONTROLLER_METHODS)->{$method} = $info; |
78 form => $info->{form} | |
79 }; | |
80 } else { | 78 } else { |
81 die new IMPL::Exception("Unsupported method information",$self,$method); | 79 die new IMPL::Exception("Unsupported method information",$self,$method); |
82 } | 80 } |
83 } | 81 } |
84 } | 82 } |