You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Alexandr Kundirenko <ak...@gmail.com> on 2005/09/01 12:41:45 UTC

Re[2]: PageLink with button

There is simpler way:

<bean name="buttonRenderer" class="org.apache.tapestry.link.ButtonLinkRenderer"/>

<component id="cancel" type="PageLink">
    <binding name="page" value="literal:TargetPage"/>
    <binding name="renderer" value="bean:buttonRenderer"/>
</component>

--
aku

wctc> With CSS, 
wctc> you can make a <a> look like a button ...

wctc> -----Original Message-----
wctc> From: Waimun Yeow [mailto:waimun@dev.java.net] 
wctc> Sent: donderdag 1 september 2005 12:27
wctc> To: tapestry-user@jakarta.apache.org
wctc> Subject: PageLink with button

wctc> Hi,

wctc> How do I create a PageLink with a button instead of the regular <a>
wctc> href?

wctc> If there's anyone who have done it, please advise....


wctc> Tks,


wctc> waimun


wctc> ---------------------------------------------------------------------
wctc> To unsubscribe, e-mail:
wctc> tapestry-user-unsubscribe@jakarta.apache.org
wctc> For additional commands, e-mail:
wctc> tapestry-user-help@jakarta.apache.org


wctc> ---------------------------------------------------------------------
wctc> To unsubscribe, e-mail:
wctc> tapestry-user-unsubscribe@jakarta.apache.org
wctc> For additional commands, e-mail:
wctc> tapestry-user-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org