# HG changeset patch # User wizard # Date 1273066435 -14400 # Node ID 6dd659f6f66c827f0027d66f5e8e4a6930c243fe # Parent 00d88c5e8203116a99e7442a4b7b2a2ad33153e4 Minor changes, DOM schema is in development (in the aspect of a forms) diff -r 00d88c5e8203 -r 6dd659f6f66c Lib/IMPL/Web/Application.pm --- a/Lib/IMPL/Web/Application.pm Wed May 05 01:07:31 2010 +0400 +++ b/Lib/IMPL/Web/Application.pm Wed May 05 17:33:55 2010 +0400 @@ -51,8 +51,9 @@ $action->response->Complete; }; if ($@) { - my $e = $@; - eval { $this->handlerError()->($this,$action,$e); 1;} or warn "Error in handlerError: ",$@; + my $e = $@; + # we are expect that this method is safe otherwise we can trust nothing in this wolrd + $this->handlerError()->($this,$action,$e); } } } diff -r 00d88c5e8203 -r 6dd659f6f66c _test/Resources/form.schema --- a/_test/Resources/form.schema Wed May 05 01:07:31 2010 +0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,58 +0,0 @@ - - - -
- - - - \w{4,10} - - - - - - - - - - -
- diff -r 00d88c5e8203 -r 6dd659f6f66c _test/Resources/form.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/_test/Resources/form.xml Wed May 05 17:33:55 2010 +0400 @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff -r 00d88c5e8203 -r 6dd659f6f66c _test/Resources/types.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/_test/Resources/types.xml Wed May 05 17:33:55 2010 +0400 @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file