4.5.41 (Dec 2010)

This is a hotfix release for some customers. New features are included to address each of the following issues.


Defects Resolved (Java)

10870Add refresh method on data provider for form controller.
10865Add the ability to add focus transfer keys in addition to the default (tab).


10870 Add refresh method on data provider for form controller

A new method "refresh" is added to formController which should be called on the data provider if one needs the backing data to update UI. To invoke the method, use formDataProvider.fireRefreshEvent() which will call the method internally. 

10865 Add the ability to add focus transfer keys in addition to the default (tab)

We have made it possible to make a user defined key as focus transfer key for the application. This can be accomplished by using the FocusService interface. Two new methods have been added:

1. addFocusTransferKey

public void addFocusTransferKey(java.lang.String keyDesc, boolean next)

- Add a key or key combination to be used to transfer focus. The default focus transfer keys (Tab and Shift-Tab) will always work, and may not be disabled or re-assigned.

Parameters:

keyDesc - The key or key combination to use.

Examples: Enter, Shift+Enter, Ctrl+Alt+N, Ctrl+Alt+P

 

next - Whether this key or key combination should move the focus forward. True indicates to move the focus forward to the next component, if possible. False indicates to move the focus backwards to the previous component, if possible.

 

2. removeFocusTransferKey

public void removeFocusTransferKey(java.lang.String keyDesc)

- Remove a key or key combination currently used to transfer focus. The default focus transfer keys (Tab and Shift-Tab) will always work, and may not be disabled or re-assigned .

Parameters:

keyDesc - The key or key combination to use.

Examples: Enter, Shift+Enter, Ctrl+Alt+N, Ctrl+Alt+P