You can also do hackish things like: create your model via BeanModelSource, add a property for your button (something like: model.add("button",null)), then add the appropriate template markup to override the rendering of the "button" property (if you don't, tapestry will complain). Throw in a bit of css for styling, and it works. It's not beautiful, but I have a solution like this working for T5.0.5 (where BeanEditor isn't yet split from BeanEditForm).

Cheers,

Robert

On Dec 3, 2007, at 12/33:21 PM , Howard Lewis Ship wrote:

Currently, you would need to build your own Form, including an Errors
component, a BeanEditor component, and you own Submit components.

On Dec 3, 2007 12:18 PM, Christoph Jaeger <[EMAIL PROTECTED]> wrote:
Hi,

is there an easy way of adding a button to a BeanEditForm? Just an
additional "Delete" or "Copy" button? Maybe like you can influence how a
specific property is displayed with a <t:Parameter
name="firstName">...</t:Parameter> inside the BeanEditForm.

Thanks,

Christoph Jäger

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--
Howard M. Lewis Ship
TWD Consulting, Inc.

Creator Apache Tapestry and Apache HiveMind

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to