Re: How to use CSS buttons outside of forms

"Christopher Dodunski" <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
Thanks Geoff.  Are you in Aus?  Greetings from NZ.

Your tag...

<t:eventlink t:event="NextPage" t:context="literal:EventLink with class
btn" class="btn btn-default">

...looks like it should do the trick.  I assume that the t:context
parameter is optional, in this case just for passing onNextPage() a
literal string as argument?

Also, to keep the website designers happy, it might be preferable to use a
slightly different form for your tag (as below)?  Though it would work
just the same.

<button type="button" t:type="eventlink" t:event="NextPage"
t:context="literal:EventLink with class btn" class="btn btn-default">

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.