This content has been marked as final.
Show 9 replies
-
1. Re: Execute button-click by pressing RETURN-Key
damianharvey.damianharvey.gmail.com Sep 2, 2008 5:34 PM (in response to extreme.list.ubootsuxx.de)<s:defaultAction/> is your friend.
Cheers,
Damian.
-
2. Re: Execute button-click by pressing RETURN-Key
extreme.list.ubootsuxx.de Sep 4, 2008 8:46 AM (in response to extreme.list.ubootsuxx.de)Thank you! I've tried it and it did not help.
<tr:commandButton><s:defaultAction /></tr:commandButton>
or
<s:defaultAction><tr:commandButton id="my"></tr:commandButton></s:defaultAction>
I've tried all combinations...it does not work.
I've taken a look at the booking-example from seam. There, <s:defaultAction> is not used, but the Login-Button works with the RETURN-Key.
Any idea? -
3. Re: Execute button-click by pressing RETURN-Key
nickarls Sep 4, 2008 9:42 AM (in response to extreme.list.ubootsuxx.de)Does it work with a vanilla h:commandButton?
-
4. Re: Execute button-click by pressing RETURN-Key
damianharvey.damianharvey.gmail.com Sep 4, 2008 10:23 AM (in response to extreme.list.ubootsuxx.de)What version of Seam are you running? I think it was introduced in 2.0.1.CR1.
Cheers,
Damian.
-
5. Re: Execute button-click by pressing RETURN-Key
extreme.list.ubootsuxx.de Sep 23, 2008 12:15 PM (in response to extreme.list.ubootsuxx.de)2.0.1 Sorry i was in holidays....and it doesn't work. Maybe i should try the next hgher version of seam...or has anyone another nice tip for me? Thank you!
-
6. Re: Execute button-click by pressing RETURN-Key
damianharvey.damianharvey.gmail.com Sep 23, 2008 1:34 PM (in response to extreme.list.ubootsuxx.de)And you're putting an id on the button right?
<h:commandButton id="submit" action="#{bean.submit}" value="Submit"> <s:defaultAction/> </h:commandButton>
-
7. Re: Execute button-click by pressing RETURN-Key
extreme.list.ubootsuxx.de Sep 24, 2008 5:15 PM (in response to extreme.list.ubootsuxx.de)Yes, i do!
-
8. Re: Execute button-click by pressing RETURN-Key
extreme.list.ubootsuxx.de Sep 24, 2008 5:18 PM (in response to extreme.list.ubootsuxx.de)But it's a tr:commandButton <tr:commandButton id="login">
-
9. Re: Execute button-click by pressing RETURN-Key
pmuir Oct 1, 2008 3:00 PM (in response to extreme.list.ubootsuxx.de)It's not tested with trinidad. Can you file an issue in JIRA?