Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The "Tapestry5HowToUseForms" page has been changed by BobHarner: http://wiki.apache.org/tapestry/Tapestry5HowToUseForms?action=diff&rev1=22&rev2=23 Comment: Fixed broken links Forms are probably the most used way of getting data from an end user. Tapestry does a lot to hook up actions on your forms to methods in your supporting page/component class. Keep in mind that page classes are (usually) just POJOs that live in a certain package that mirrors the template location. More details are here: - [[http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/corelib/components/Form.html]] + [[http://tapestry.apache.org/current/tapestry-core/ref/org/apache/tapestry5/corelib/components/Form.html]] ==== Form Events ==== @@ -17, +17 @@ *prepare -> calls onPrepare() Is called after prepareForRender or prepareForSubmit, that is, once every time the form is rendered or submitted. *validate -> calls onValidateForm() - Is called to allow for cross-form validation. Use [[http://tapestry.apache.org/tapestry5/tapestry-core/apidocs/org/apache/tapestry/corelib/components/Form.html#recordError(org.apache.tapestry.Field,%20java.lang.String)|form.recordError(field,message)]]) to record errors. + Is called to allow for cross-form validation. Use form.recordError(field,message)]]) to record errors. *success -> calls onSuccess() Is called after validation if no errors were recorded. *failure -> calls onFailure() --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org For additional commands, e-mail: dev-h...@tapestry.apache.org