XForms/Selection and Deselection Events

Motivation
You want to perform actions based on a tab being selected or deselected. For example you may want to defer loading large parts of a complex model until a tab is selected.

Method
This example uses event logging to show how the selection and deselection events are used.

Discussion
Note that you must wrap the xf:setvalue values in a double quote and a single quote to append strings to the events.