...
The rootPane is a Nexaweb application's implied top-level container.
Code Block |
---|
<rootpane> |
...
</rootpane> |
You specify the root pane in your application's client XAL file if you want to change the values of any of the rootPane attributes from their defaults. For example, to set the rootPane border and color.
...
Visually, with some additional display attributes specified, this example appears as follows:
defs
You specify items in defs tag that other components can refer to by using the syntax: #ID (pound symbol+component ID). Items under the defs tag must be declared before components that refer to them or an error occurs.
...
The following figures shows the UI displaying the popupMenu, MyPopup, from the middle button, and then the bottom button.
The following example shows the syntax for a defs section in a Nexaweb Java application UI file including a linearGradient:
...
The following figure shows the UI displaying a button using the linearGradient defined in the defs section: