Re: How to use CSS buttons outside of forms

Chris Poulsen <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <CAFKtUSuArvKjRFz8tpJuJGf4RtUSrer0_ZrO866mEeVEHNLv+A@mail.gmail.com>
Hi,

All the link types extends AbstractLink which supports informal
parameters... So basically just add a  class="<your button classes>"
parameter and it will pass through to the html.

-- 
Chris


On Sat, Dec 23, 2017 at 8:31 AM, Christopher Dodunski <
[email protected]> wrote:

> Hi all,
>
> The Tapestry 'submit' component allows use of buttons defined in CSS by
> way of the 'class' parameter.  This is perfect for form buttons.  But now
> I want to use these same CSS buttons outside of forms.  The natural choice
> is Tapestry's ActionLink or EventLink component.  But these components
> don't appear to offer class parameter for passing CSS class names.
>
> What do you recommend for wiring CSS buttons in the Tapestry template back
> to Tapestry page class methods?
>
> Thanks & regards,
>
> Chris.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.