Advanced VSPX programming
VX-S-5 VSPX tab control
Tab desk
Example
The example presents vspx:tab control. It's used to show simultaneously content of one child container at time. The child container must be vspx:template, they are used to encapsulate other controls. The "style" attribute on "tab" controls designate automatic generation of select list to control switching between templates.
In interest is also "initial-active" attribute, this is used to activate one of templates initially. The value of that attribute needs to be the name of the template to be activated on first go.
| View the source | Action |
|---|---|
| 1. vx_s_5.sql | Set the initial state |
| 2. emp.vspx | Run |
| 3. tab.vspx | Run |
OpenLink Home
Technical Support