[jboss-user] [JBoss Seam] - Re: submit on enter
Yes, this is a bug in JSF. We'll have to make sure it goes into the next version. You could suggest to Ajax4jsf they have a version of this tag in their toolkit, it is, IMO, the right way to do it, and seems like a good fit for a4j. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045037#4045037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045037 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: submit on enter
anonymous wrote : | I could be wrong but I think seam finds the "nearest" command button and automagically presses that when you hit enter! | Shuffle the button round so that "submit" is nearest the password field. | Works for me! | I think you're right in that this is how JSF determines which command button to turn into a type="submit" (which will respond to the enter button keypress). If you want it to appear second, this is something you can do easily with a style change. I'm really surprised no one thought that through when designing JSF. It's pretty basic form stuff... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045035#4045035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045035 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: submit on enter
Well after some searching I found this...dont know if it's working but I'll try it right now | http://www.jsftutorials.net/defaultActionTag.html | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045025#4045025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: submit on enter
I could be wrong but I think seam finds the "nearest" command button and automagically presses that when you hit enter! Shuffle the button round so that "submit" is nearest the password field. Works for me! (I have asked for a way of saying which I want the default button to be on a page with no luck so far so ask for that and it might get considered. Basically set breakpoints on all handlers for you buttons/links and see which is being called when the user presses enter ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044938#4044938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user