Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jakarta-tapestry Wiki" for change notification.
The following page has been changed by DanielGredler: http://wiki.apache.org/jakarta-tapestry/BeanForm ------------------------------------------------------------------------------ You can also specify exactly which properties you want included in the BeanForm, as well as cancel and refresh listeners. When you explicitly specify editable properties, those properties are shown on the page in the order you specify: - {{{<span jwcid="@BeanForm" bean="ognl:pojo" properties="ognl:'name,email,comment'" success="ognl:listeners.save" cancel="ognl:listeners.cancel" refresh="ognl:listeners.refresh" />}}} + {{{<span jwcid="@BeanForm" bean="ognl:pojo" properties="ognl:'name,email,comment'" save="ognl:listeners.save" cancel="ognl:listeners.cancel" refresh="ognl:listeners.refresh" />}}} The generated HTML is a form containing a two-column table (unless the BeanForm is already inside a Form, in which case no Form is generated). The left column contains the field labels and the right column contains the data entry fields. The bottom row spans both columns and contains the save button, the cancel button (if the ''cancel'' parameter was specified), the refresh button (if the ''refresh'' parameter was specified) and the delete button (if the ''delete'' parameter was specified). The table can be styled using CSS: the table's CSS class is ''beanFormTable'', the left column's CSS class is ''beanFormLeftColumn'', the right column's CSS class is ''beanFormRightColumn'', and the bottom column that contains the buttons has the CSS class ''beanFormButtonColumn''. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
