<sas:ExpandCollapse>

This tag is used for creating a container which can be expanded or collapsed to show or hide its contents.

Syntax

<sas:ExpandCollapse
   [collapseImageDefault="java.lang.String"]
   [collapseImageDisabled="java.lang.String"]
   [content="java.lang.String"]
   [customAttributes="java.lang.String"]
   [epilog="java.lang.String"]
   [expanded="false|true"]
   [expandImageDefault="java.lang.String"]
   [expandImageDisabled="java.lang.String"]
   [id="value"]
   [imageLocation="java.lang.String"]
   [instantiate="true|false"]
   [locale="java.util.Locale"]
   [name="java.lang.String"]
   [objectDataProperty="java.lang.String"]
   [prolog="java.lang.String"]
   [ref="java.lang.String"]
   [removeButtonVisible="false|true"]
   [removeImageDefault="java.lang.String"]
   [render="true|false"]
   [saveState="SAVE_STATE_NONE|SAVE_STATE_SESSION"]
   [scope="page|request|session|application"]
   [singleButton="true|false"]
   [styleClassPrefix="java.lang.String"]
   [title="java.lang.String"]>
      [<sas:StyleMapKey .../>]
      [<sas:SetProperty ...>
         The value to set on the parent tag
      </sas:SetProperty>]
      [Additional <sas:StyleMapKey>, <sas:SetProperty> tags...]
      [One or more lines of text to be placed in the container.]
</sas:ExpandCollapse>

Attributes

collapseImageDefaultThe default image used for the collapse button.
collapseImageDisabledThe disabled image used for the collapse button.
contentThe content to use for the component.
customAttributesa list of attributes in the form of attribute="value", space delimited
epilogText that is output immediately after the last markup tag.
expandedSet to true for expanded.
expandImageDefaultThe default image used for the expand button.
expandImageDisabledThe disabled image used for the expand button.
idCase-sensitive name used to identify the object instance.
imageLocationThe image location for the button images to be used for the component.
instantiateFlag that, if true, indicates that a new instance of the underlying class should be loaded if one cannot be found in PageContext. Must be used with an id attribute.
localeSpecifies the locale to use for this instance of the class.
nameValue assigned to the markup tag's name attribute.
objectDataPropertyValue assigned to the output tag's objectDataProperty attribute.
prologText that is output immediately preceeding the first markup tag.
refThe variable String value that represents an object created earlier in the same scope.
removeButtonVisibleSet to true if remnove button is visible.
removeImageDefaultThe default image used for the remove button.
renderFlag that, if true, indicates that the complete markup of the bean is output when the tag is closed. It also sets the the visible property on the underlying TransformationBean.
saveStateSet to SAVE_STATE_NONE for no state saving or SAVE_STATE_SESSION to save via session.
scopeThe scope (or page context) within which the reference is available.
singleButtonSet to true for a single expand/collapse button, false if two buttons.
styleClassPrefixThe styleClassPrefix to use for the component.
titleThe title to use for the component.

More Information

To view the documentation for the related TransformationBean, see com.sas.servlet.tbeans.html.ExpandCollapse.

If you need to subclass the tag handler class for the sas:ExpandCollapse tag, extend com.sas.taglib.servlet.tbeans.ExpandCollapseTag.