Unfortunately that would still cause traffic to the server, which is
probably fine for an Intranet App, but wouldn't be too friendly if you have
dial-up internet users.
 (*Chris*)

On 10/26/06, Wendy Smoak <[EMAIL PROTECTED]> wrote:

On 10/26/06, fea jabi <[EMAIL PROTECTED]> wrote:

> Is it possible in struts to disable the functionality of the enter key
which
> would usually execute the first submit button in the page. Can we do
this at
> form level?
>
> If so how to do this?

http://www.google.com/search?q=struts+enter+submit

I use an "invisible" submit button as the first button on the page.
Enter submits the form via that button, and the [dispatch] action just
re-displays the form.

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to