Jakarta > Tapestry
Jakarta
 

Otherwise

Provides a default condition for Choose component. Other alternatives are indicated by When components.
Must have Choose as an immediate parent and must be the last nested component within Choose.

See also: Conditional, Choose, When

Parameters

Name Type Direction Required Default Description
element String in no   If specified and none of the conditions in any When component is satisfied, then the component acts like an Any, emitting an open and close tag. Informal parameters are applied to the tag. If no element is specified, informal parameters are ignored.

Body: allowed

Informal parameters: allowed

Reserved parameters: condition, invert

Examples

Please see the documentation for the Choose component.