This content has been marked as final.
Show 3 replies
-
1. Re: shortcut for commandbutton / login
kaiwerther Jul 5, 2009 5:47 AM (in response to ajanz)Please have a look at
http://livedemo.exadel.com/richfaces-demo/richfaces/hotKey.jsf
It should do the trick.
Best Regards,
Kai -
2. Re: shortcut for commandbutton / login
ajanz Jul 5, 2009 6:21 AM (in response to ajanz)oh. sorry haven't seen this component yet...
so how can i call the login function? ( id of command button is cmdlogin)
like this?
<rich:hotKey key="right" handler="#{rich:component('cmdlogin')}.submit()"/> -
3. Re: shortcut for commandbutton / login
kaiwerther Jul 5, 2009 6:38 AM (in response to ajanz)use key="return" and .click() instead of .submit()
<rich:hotKey key="return" handler="#{rich:element('cmdlogin')}.click()"/>