Defining a key stroke for the browse new link does not seems to be supported yet. I tried it with adding a class of AbstractKeyStroke to the SmartTableForm, but with no success either.
The approach we usually use is to define a new menu on the smartfield (which supports key strokes).
But the key stroke action of the menu is not executed when the proposal form is open.
What I want, is a user-friendly way to add new entries to a smartfield:
- user types a 'ABC'
- smartfield proposal form opens, 'ABC' is not found
- when the value is not available, the user should be able to press a key shortcut and open a form to create the new entry with 'ABC' prefilled
This does not seem to be possible right now. What you need is something like a getConfiguredBrowseNewKeyStroke method on AbstractSmartField, am I right? Can you create a bugzilla ticket for this.