diff 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
line wrap: on
line diff
--- a/Lib/IMPL/Web/Application/ControllerUnit.pm	Mon Aug 09 08:45:36 2010 +0400
+++ b/Lib/IMPL/Web/Application/ControllerUnit.pm	Mon Aug 16 08:26:44 2010 +0400
@@ -72,11 +72,9 @@
 		} elsif (ref $info eq 'HASH') {
 			die new IMPL::Exception("A schema must be specified",$self,$method) unless $info->{schema};
 			
-			$self->class_data(CONTROLLER_METHODS)->{$method} = {
-				wrapper => 'FormWrapper',
-				schema => $info->{schema},
-				form => $info->{form} 
-			};
+			$info->{wrapper} = 'FormWrapper';
+			
+			$self->class_data(CONTROLLER_METHODS)->{$method} = $info;
 		} else {
 			die new IMPL::Exception("Unsupported method information",$self,$method);
 		}