Description
It would be nice to have a toggle option using tc:operation to show or hide a panel with buttons.
// Example: ... <tc:button label="Hide" immediate="false" rendered="#{cc.attrs.collapsible}" omit="true"> <tc:operation name="hide" for="panel"/> </tc:button> <tc:button label="Show" immediate="false" rendered="#{cc.attrs.collapsible}" omit="true"> <tc:operation name="show" for="panel"/> </tc:button> <tc:panel collapsedMode="hidden" collapsed="true" id="panel"> ...
With the toggle option one could use only one button instead of two.