Sorry, I'm not really understanding what you are saying, can you explain again?
If there is a problem with s:defaultAction (it behaves differently to pressing
the commandButton with the mouse) then we should fix it.
View the original post :
Even with this tag, there are problems when the form is submitted via ENTER.
For example, it appears that in Firefox, the redirect following the form
submission is executed as a POST. That's the way it looks in Wireshark, anyway.
In my case, if the user presses ENTER on the last page of a
i was routed from here
http://www.jboss.com/index.html?module=bbop=viewtopict=118074
to this thread.
I hope that the default action will solve my problem.
So i can specify something like this
defaultAction type=SUBMIT action=...
|
form will submitted and action is the same thing zhat is
No, I don't think we need to alter the default behaviour of the enter button -
simply make it correspond to the 'normal' html behaviour - i.e.
h:commandButton action=...
|s:defaultAction /
| /h:commandButton
You can of course do what you are after using javascript.
View the original
Sounds good.
I added my vote.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080384#4080384
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080384
___
jboss-user mailing list
I haven't used this, but it claims to do what you're asking:
http://www.jsftutorials.net/defaultActionTag.html
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080325#4080325
Reply to the post :
That looks good.
Could be a candidate for seam JSF enhancement?
It appears like JSF goes hunting for the closest submit button it could find
when you hit enter in a text field (including captcha .. which is the problem
in my case).
I have users moaning the captcha doesn't work as they keep
If someone creates a feature request in JIRA we can add this type of control to
Seam UI.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080329#4080329
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080329
I will be great to have this in Seam UI. Thanks.
JIRA issue added: http://jira.jboss.com/jira/browse/JBSEAM-1893
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4080335#4080335
Reply to the post :