SimpleTogglePanel represents a panel with a base text label at the top and additional content that can be shown or hidden. Additional content is shown or hidden using the simpleTogglePanel control located to the right of the base text label by default.
This is an example of the component with default look-n-feel:

Simple Toggle Panel example

The switchType attribute allows to select a toggle approach that can be 'client', 'server' or 'ajax'. The 'server' and 'ajax' types require to be surrounded with a form element such as <h:form> or <a4j:form>.

Switch types example