[Mono-dev] System.Web javascript modification for J2EE portal support

Vladimir Krasnov vladimirk at mainsoft.com
Mon Feb 5 12:24:12 EST 2007


Please approve attached patch that enables validators work correctly on 
J2EE portal with multiple forms on one page.

I've added SetValidatorContext function to WebUIValidation_2.0.js script

that will be executed every time before Page_ClientValidate function.
function check if Page_Validators exists as a property of calling form 
and if yes, it will reset global arrays of validator to it's local
values from 
the calling from. If Page_Validators array is not property of the form
not in portal flow), SetValidatorContext will do nothing.

There is a TARGET_J2EE modifications in ClientScriptManager class that
render validation arrays as members of a form.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: WebUIValidation_2.0.js.patch
Type: application/octet-stream
Size: 674 bytes
Desc: WebUIValidation_2.0.js.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070205/a70b3fa1/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webform.js.patch
Type: application/octet-stream
Size: 482 bytes
Desc: webform.js.patch
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070205/a70b3fa1/attachment-0001.obj 

More information about the Mono-devel-list mailing list