Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: A couple minor typos

...

When rendering, the Form component emits two notifications: first, "prepareForRender", then "prepare". These allow the Form's container to setup any fields or properties that will be referenced in the form. For example, this is a good chance to create a temporary entity object to be rendered, or to load an entity from a database to be edittededited.

When user submits the form on the client, a series of steps occur on the server.

...

Configuring Fields and Labels

The template for a page contains a minimal amount of Tapestry instrumentation:

...

Each field component, such as the TextField, is paired with a Label component. The Label will render out a <label> element connected to the field. This is very important for useabilityusability, especially for users with visual disabilities. It also means you can click on the label text to move the cursor to the corresponding field.

...