cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Yeadon <>
Subject CForms: Form.validate() method
Date Mon, 09 Aug 2004 00:45:37 GMT

If I call Form.validate() from one of my widget listeners to validate 
the whole form I get an Unsupported Exception (presumably from a widget 
not supporting ValidationErrorAware) and a message telling me to use 
Form.process() insetad. However Form.process() requires a FormContext 
object, but I can't figure out how (or if) I can get access to this 
object from within an event listener? I may need to call validate on 
specific widgets instead...



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message