FocusEvent should contain information about the new focus row key
-----------------------------------------------------------------
Key: TRINIDAD-1483
URL: https://issues.apache.org/jira/browse/TRINIDAD-1483
Project: MyFaces Trinidad
Issue Type: Improvement
Components: Components
Reporter: Nicolas Pombourcq
When the tree or tree table fires a FocusEvent, a backing bean that wants to
keep current on the state of the focus row key needs to call
component.getRowKey() to get the new focus row key, which is not very
intuitive. getFocusRowKey does not work because if the attribute is bound to an
EL expression and the new focus row key is null, it will actually end up
resolving the EL expression which would contain the old value.
The best way to solve this would be to provide the following information on
FocusEvent:
+ Object getNewFocusRowKey(): returns the focus row key after the event has
been processed;
+ Object getOldFocusRowKey(): returns the focus row key before the event was
fired.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.