I have a form with multiple actions and I want a default action to happen
when I click the enter key.
Right now, I seem to get the 1st (default) action if I am NOT inside another
component like a text field. But when I am inside another component, I get
nothing submitted and have to manually
,
I'd love to hear it.
Cheers,
Daniel.
_
From: Mick Knutson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 5 December 2006 10:56 AM
To: MyFaces Discussion
Subject: ENTER key with a single form but multiple actions
I have a form with multiple actions and I want a default action
, but if somebody does have A Better
Way, I’d love to hear it…
*From:* Mick Knutson [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, 5 December 2006 10:56 AM
*To:* MyFaces Discussion
*Subject:* ENTER key with a single form
:* Mick Knutson [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, 5 December 2006 10:56 AM
*To:* MyFaces Discussion
*Subject:* ENTER key with a single form but multiple actions
I have a form with multiple actions and I want a default action to
happen when I click the enter key.
Right now, I seem
.
-Original Message-
From: Simon Kitching [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 5 December 2006 11:21 AM
To: MyFaces Discussion
Subject: Re: ENTER key with a single form but multiple actions
Hi,
I expect that the browser is simply invoking a method on the HTML
control that currently
Hi Mick!
I have a form with multiple actions and I want a default action to
happen when I click the enter key.
Have a look at our sandbox component submitOnEvent.
It has various modes to determine which action to trigger. The simplest
might be to add it as child to the commandButton which should
6 matches
Mail list logo