Tapestry includes a number of form-related components. Tapestry components are responsible for reading properties when a page is rendered, to supply default values, and writing properties when the form is submitted; it is never necesssary to write code to directly read HTTP parameters.

In addition, Tapestry includes the ValidField component which is part of a framework that allows for complex validation of user input as well as presentation of errors.

Enable Client Side Validation

ValidField components can perform validations on the client-side, triggered by the user submitting the form. The checkbox above enables or disables this feature. Input is always rechecked on the server-side (in case the client doesn't support JavaScript).

continue ->