mercredi 26 mars 2014

KeyNav - Correct way of implementing

Hi everyone,



Originally someone else wrote the code i am going through and well i had to write alot of special cases to fix things which is really OTT.



Here are a few areas that i had to write customer bits for:



So firstly enabled the key nav and every time an event was called this went through component focus method because:



1) When trying to access the + - on the accordion layout you could never get to the button instead an enter event was collapsing the section. So wrote customer code if the field was header then .down

2) Another area where i had to write customer code was when using combo box's, after the selection had changed this would return the focus to the viewport as the select was made from the boundlist.



Are there any better was of implementing keynav as i want to start tidying it up?




Aucun commentaire:

Enregistrer un commentaire