Documentation

Search 

Contents

  1. Introduction
  2. Getting Started
  3. ICEfaces Concepts
  4. Code View Support
  5. Design View Support
  6. Tag Object Toolbars
  7. Server Behaviors
  8. Property Inspectors
Selected 9. ICEfaces Tag Reference

10. ICEfaces Tag Reference

Contents > ICEfaces Tag Reference > ice:panelCollapsible

ice:panelCollapsible

The ice:panelCollapsible tag displays a collapsible panel.

Example

<ice:panelCollapsible styleClass="blah">
  <f:facet name="header">
    <ice:outputText value="Header of the collapsible panel" />
  </f:facet>
  <ice:outputText value="Body of the collapsible panel" />
</ice:panelCollapsible>

Rendered Output

Rendered ice:panelCollapsible tag

Tag Attributes

actionListener Text
 
The actionListener attribute accepts a method-binding expression for a backing bean action listener method that will be notified when this component is activated by the user. An action listener method must be a public method with an javax.faces.event.ActionEvent parameter and a void return type.
binding Expression
 
The value-binding expression linking this component tag to a backing bean property.
disabled Boolean
 
The disabled attribute is a boolean flag that when set to true indicates that this component should not receive focus or be included in a form submit.
enabledOnUserRole Text
 
The enabledOnUserRole attribute is a boolean flag that when set to "true" and if a role has been configured for the user, then the component will be displayed and will function. If the user does not have a role, then the component will be disabled (will not function) and will be grayed out.
expanded Boolean
 
The expanded attribute is a boolean flag that when set to "true" displays an expanded panel and when set to "false" displays a collapsed panel.
id Text
 
The unique identifier value for this component. The value must be unique within the closest naming container.
rendered Boolean
 
A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered.
renderedOnUserRole Text
 
The renderedOnUserRole attribute is a boolean flag that when set to "true" and if a role has been configured for the user, then the component will be displayed. If the user does not have a role, then the component will not be displayed.
style CSS Style
 
The style attribute sets the CSS style definition to be applied to this component when it is rendered.
styleClass CSS Class
 
The styleClass attribute sets the CSS class to apply to this component when it is rendered.
toggleOnClick Boolean
 
The toggleOnClick attribute is a boolean flag that when set to "true", then clicking on the header will expand or collapse the panel.