This example show a content box which could be opened and closed without a server request.
To render the hidden content of the box,
collapsedMode="hidden"
must be set.
The content is hidden by CSS display property.
Also the content contain a required input field.
This field will be also validated if the content is hidden.
To demonstrate that, leave the input field blank, hide the content and press the 'Submit'-button.
Notice the
omit
attribute of the buttons is set to avoid server request.
<tc:box id="noRequestBox" label="No Request Box"
collapsed="true" collapsedMode="hidden">
<tc:button label="show" omit="true">
<tc:operation name="show" for="noRequestBox"/>
...