|Content proposal and tab navigation [message #626498]
||Wed, 22 September 2010 15:33
| Marco Maccaferri
Registered: July 2009
I have a problem using a content proposal adapter associated to a combo
box related to the tab traversal. Here is the situation: I have a table
viewer with cell editors, one of them is a combo cell editor with a
content proposal adapter associated to it. Each editor have traverse
listeners so the user can navigate through cell editors using TAB. It
works well except for the content selected from the content proposal pop-up.
When the user activates the combo editor, starts to type some letters
and the content proposal pops-up. The user then selects a proposal, it
is written in the combo box text field, then he TABs to the next editor,
at this point the combo cell displays the old value. To make the combo
editor to accept the selection the user needs to hit the ENTER key, but
this also deactivates the editor so he can't navigate to the next cell.
Digging throught the code with the debugger, it seems that somwhere an
event is triggered and the combo editor is deactivated without accepting
the new value. This seems an effect of the cell traverse listeners I'm
adding to the editor, because if I remove that, the tab works and accept
the selected value.
Is there someone who has encountered this problem before ? How can I
resolve that ? I need the tab traversal listners, I can't remove them.
Thanks for any help.
Powered by FUDForum
. Page generated in 0.01498 seconds