cocoon-users mailing list archives

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

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...

Thanks.

Scott.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message