Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Fix broken link perAndreas Ernst

BeanEditForm is a powerful Tapestry component capable of generating a complete create/edit user interface for a typical JavaBean. Wiki Markup{float:right|background=#eee|padding=0 1em} *JumpStart Demos:* [Edit (Using BeanEditForm)|http://jumpstart.doublenegative.com.au/jumpstart/examples/input/edit1/1] [Create (Using BeanEditForm)|http://jumpstart.doublenegative.com.au/jumpstart/examples/input/create1] [More Control Edit (Using BeanEditor)|http://jumpstart.doublenegative.com.au/jumpstart/examples/input/morecontroledit1/1] {float}

Div
stylefloat: right; max-width: 30%; margin: 1em


Panel
borderColor#eee
titleBGColor#eee
titleJumpStart Demos


BeanEditForm analyzes the the properties of the bean, locating just those properties that are readable and writeable. It filters down to properties whose type is mapped to a known editor (this is described in more detail below).

...

If desired, additional validation may be specified using the @Validate annotation. See BeanEditForm Guide Forms and Validation.

As of Tapestry 5.2, validation may also be specified via the containing component's property file, using a key in the form of propertyId-validate (eg: myfield-validate=required).

...

Next, you must make contributions to the DataTypeAnalyzer or DefaultDataTypeAnalyzer services to match properties to your new name.

...