Usually, the decision as to what happens when you mash the "Enter"
key is up to the browser, not the form designer. It's why I at least am
forever pulling my hair out over enter key behavior and/or going with
javascript submit code. In other words, I'm not sure that this is a tapestry
thing so much as a web forms thing for you (could be wrong).
Here's a decent FAQ on the subject that might (or might not) help.
http://ppewww.ph.gla.ac.uk/~flavell/www/formquestion.html
-----Original Message-----
From: david joffrin [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 24, 2005 4:14 AM
To: [email protected]
Subject: RE: button mapped to the "enter" key
No one?
>From: "david joffrin" <[EMAIL PROTECTED]>
>Reply-To: "Tapestry users" <[email protected]>
>To: [email protected]
>Subject: button mapped to the "enter" key Date: Sat, 23 Apr 2005 20:35:46
>+0000
>
>Hi,
>
>I think the subject is pretty clear. I have two buttons on my pages:
><tr>
><td bgcolor="#FFFFFF" colspan="2" align="left"><input type="submit"
>name="$Submit" value="Cancel" class="buttons"/></td>
><td bgcolor="#FFFFFF" align="right"><input type="submit" name="$Submit$0"
>value="Confirm" class="buttons"/></td>
></tr>
>
>and I would like to have the return key mapped to the Continue button
>rather than currently the Cancel button... What can UI achieve that?
>
>Thanks.
>DvJ
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]