Re: How to use CSS buttons outside of forms

"Christopher Dodunski" <[email protected]>
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
Concerning use of the button HTML tag, I read the following...

"Definition and Usage

The <button> tag defines a clickable button.

Inside a <button> element you can put content, like text or images. This
is the difference between this element and buttons created with the
<input> element.

Tip: Always specify the type attribute for a <button> element. Different
browsers use different default types for the <button> element."

I will therefore try the below version of this HTML element in my Tapestry
template (will avoid input/submit elements, as there is no form involved
when clicking to delete a user).

<button type="button" t:type="actionlink" t:id="deleteUser" value="Delete
User" class="opto-button delete-user-btn"/>

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.