Thanks, Paul.  I saw the renderer attribute but wasn't sure how to use it.

Ryan




Paul Ferraro <[EMAIL PROTECTED]> 
08/08/2005 07:43 PM
Please respond to
"Tapestry users"


To
Tapestry users <[email protected]>
cc

Subject
Re: PropertySelection question






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