Dependencies
element
to specify when each informat option should appear.
UI
element (</UI>
).
<Dependencies> <Dependency condition="$informatType == 'numericChoice'"> <Target action="show" conditionResult="true" option="numericInformat"/> <Target action="hide" conditionResult="true" option="dateInformat"/> </Dependency> <Dependency condition="$informatType == 'dateChoice'"> <Target action="hide" conditionResult="true" option="numericInformat"/> <Target action="show" conditionResult="true" option="dateInformat"/> </Dependency> </Dependencies>
1 | According
to this dependency condition, when you select the Numeric option
(named numericChoice ) from the Informat drop-down
list (named $informatType ), the Numeric
informat option (named numericInformat )
is available in the user interface. The Date informat option
(named dateInformat ) is hidden.
|
2 | According
to this dependency condition, when you select the Date option
(named dateChoice ) from the Informat drop-down
list (named $informatType ), the Date
informat option (named dateInformat )
is available in the user interface. The Numeric informat option
(named numericInformat ) is hidden.
|