This content has been marked as final.
Show 2 replies
-
1. Re: Adding hotkey to a menu
ilya_shaikovsky Mar 11, 2009 11:46 AM (in response to dderry)<script type="text/javascript"> function newM(){ #{rich:element('new')}.onclick(); } </script> <rich:hotKey handler="newM();return false;" key="ctrl+up"/>
and... <rich:menuItem submitMode="ajax" value="New" id="new" action="#{ddmenu.doNew}" icon="/images/icons/create_doc.gif"> ...
works for me -
2. Re: Adding hotkey to a menu
dderry Mar 12, 2009 8:29 AM (in response to dderry)Thanks Ilya. That looks like it's just what I need. I'll give it a shot.
Dave