Re: How to use CSS buttons outside of forms

"Christopher Dodunski" <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
This problem has proved trickier to solve than expected.

The below tag produces a displayed button, but obviously without any
functionality, as the tag contains no Tapestry-specific elements.

<input type="button" class="opto-button delete-user-btn" value="Delete
User"/>

The problem comes on adding Tapestry markup, with the intention of
invoking a deleteUser() method in the page class.  Neither of the below
produce a displayed button.  In other words, as soon as I attempt to
'Tapestry-ise' the button, it vanishes.

<input type="button" t:type="eventlink" t:event="deleteUser"
class="opto-button delete-user-btn" value="Delete User"/>

<t:eventlink t:event="deleteUser" class="opto-button delete-user-btn"
value="Delete User"/>

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.