You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Glen Stampoultzis <gs...@iinet.net.au> on 2004/09/04 03:10:16 UTC

Another small tapestry component


The ButtomSubmit component acts like a Submit component except that it is 
implemented as a button. The reason you might want to do this is to avoid 
the button being clicked when pressing enter on form fields. By default 
browsers will automatically click the first button when the user presses 
the enter key on a form field. Sometimes this is not desirable and so this 
component was born. Effectively it allows you to choose which button you 
want as the default button.


http://jroller.com/page/gstamp/20040903




Glen Stampoultzis
gstamp@iinet.net.au
http://members.iinet.net.au/~gstamp/glen/