I remember coming across this (was using Tap 3 then) You can try this: add a third submit button (before the others) that triggers the listener that you want to whenever the enter key is pressed and make it hidden (style="display:none"). You can also try playing with the tabindex parameter - I cant remember which one had worked for me...
Christian Mittendorf wrote: > Sorry, but this question is not really Tapestry related... I have a > Form component with two Submit components. Each of them is bound to a > listener method. And everything is working fine. As long as the user > is using the mouse to trigger a submit. But as soon as the user > presses the "Return" key in this form, the submit button appearing > first is triggered. Is there a way to ensure, that submitting the > Form via the "Return" key will always trigger Submit button foo? > > Christian > > --------------------------------------------------------------------- > 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]