Check out the org.apache.tapestry.link.ButtonLinkRenderer in the 4.0 codebase. You can implement your cancel button like this:

<button jwcid="@PageLink" page="MyPage" renderer="ognl:beans.buttonRenderer">Cancel</button>

where buttonRenderer is a bean:
<bean name="buttonRenderer" class="org.apache.tapestry.link.ButtonLinkRenderer"/>

Paul

Ryan Wynn wrote:

On a side note, I have cancel as a submit component. The listener does nothing but return the IPage to go back to. There must be an easier way to make the equivalent of a PageLink show up as a button.
Thanks,
Ryan


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

Reply via email to