/
4.2.8 (Dec 2006)
4.2.8 (Dec 2006)
Enhanced Events: onBeforeActiveLost and onActiveLost now report oppositeSubComponent for window-based components
Previously, it was not possible to program an onBeforeActiveLost event with special logic for focus transfering to a window based component's sub-component (e.g. the close or minimize button). The only option a developer had to restrict such access, was to manipulate the closable (or similar) attributes. This minor enhancement adds an oppositeSubComponent event parameter to the following events: onActiveLost, onBeforeActiveLost.
oppositeSubComponent - A name representing the subcomponent of the opposite component that focus is moving to. For example, when clicking on the "close" button of a window, the opposite component will be the window, and the subcomponent will be the "close" button. The value of oppositeSubcomponent will be a name defined in the class ClientEvent.SubcomponentNames. The value of oppositeSubcomponent can be null.
Names returned as values for oppositeSubcomponent are documented in class ClientEvent.SubcomponentNames:
WINDOW_CLOSE
WINDOW_MINIMIZE
WINDOW_MAXIMIZE
WINDOW_TITLEBAR
Defects Resolved
Id | Description |
6721 | IME: cursor set incorrectly if many more Japanese characters are typed beyond maxLength |
6698 | 4.2.8 component tests: Poppupmenu throws an exception on initial load about "null" not being a valid option for border position. |
6590 | Documentation: NetService getServerUrl() API description reworded for clarity |
6581 | Documentation: Interface DocumentRegistry java doc contains a typo |
6572 | focusSelectionPolicy attribute introduce in 4.1.6 needs to be ported to 4.2.8 |
6499 | 712-3312436 - richText status of table cell components is sometimes incorrect if some cells in a table or column are richText="true" and others are richText="false" |
6497 | 712-3297062 - alignHorizontal="center" does not render text centered in a table header when richText="true" |
6496 | 712-3296709 - a component's width attribute is ignored in some layouts when richText="true" |
6459 | Documentation: com.nexaweb.xml.events.AttributeChangeListener.beforeAttributeSet() method contains a typo |
6427 | 712-3229933 Documentation: Add half-width kana (Hankaku-kana) and other enumerated Java constants to the inputMode attribute in the XML UI documentation |
6415 | 712-3222828 The scroll position in textField does not reset if user cancels Japanese input |
6410 | Feature Request: 712-3212807 How to get oppositeID in onBeforeActiveLost when focus is moving to "X" button of dialog. |
6366 | 712-3100268 - The text of initial selection of a combo box is not propogated from a selected listItem properly |
6312 | 712-2974856 - IME issue - maxLength attribute doesn't bound Japanese characters |
6306 | 712-2903592 display position does not change after dynamically setting the "cursorIndex" attribute in a textField |
6298 | 712-2894484 NullPointerException occurs by the input by IME |
6224 | 712-2768146 - Styles are not rendered after dynamically setting class attribute to <row/> via macro |
5651 | Documentation: attributes are missing from the XML UI documentation for comboBox: cursorIndex and endSelectIndex |
5325 | 712-2974776 - IME: Uncommitted text stays in a buffer after focus moves to another component |