Found it, you can use the normal Accesskey property. Works good in Firefox and 
Chrome, but in my IE 7 it does nothing when I try it with Alt+Shortcut.

 

This is the HTML which gets created: 

<a        title="Arbeitskorb anzeigen[Alt+a]" 

onclick="return 
_chain('Mask.show(\'pageDiv\')','submitForm(\'j_id21\',1,{source:\'j_id23:0:j_id25:2:j_id27\'});return
 false;',this,event,true)" 

class="OraLink" 

href="#" 

accesskey="a"

*       <img src="resources/images/benutzer.gif">Arbeitskorb[Alt+a]</a>

 

Any suggestions?

 

-----Ursprüngliche Nachricht-----
Von: Eisenträger, Tobias [mailto:[email protected]] 
Gesendet: Montag, 28. September 2009 11:37
An: MyFaces Discussion
Betreff: Shortcuts for Links and Buttons

 

Hello,

 

I need to have shortcut support (Alt+O for OK, for example). What is a typical 
solution for that? Is there a good JavaScript framework or something?

 

Thanks, 

 

Tobias Eisenträger

 

 

Reply via email to