PATH |
WOSwitchComponent
Element Description
WOSwitchComponent provides a way to determine at runtime which nested component should be displayed. This component is useful when you want to decide how to display information based on the state of the application.
Synopsis
WOSwitchComponent { WOComponentName=aComponentName; ... };Bindings
- WOComponentName
Name of the component to display. This attribute can be a string or a method that returns the name of a component.
If the component specified in WOComponentName takes attributes, pass these attributes along to WOSwitchComponent following the WOComponentName attribute. Note that this means that all components that can be displayed by this WOSwitchComponent must use the same API.