liferay-ui
Tag toggle-area


Creates a component that toggles the visibility of a div and its contents.


Tag Information
Tag Classcom.liferay.taglib.ui.ToggleAreaTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
alignfalsetruejava.lang.StringA value for aligning the toggle control. This can be any of the valid values for the CSS float property.
defaultShowContentfalsetruebooleanWhether to initially show content by default. The default value is true.
hideImagefalsetruejava.lang.StringAn icon to use as the mechanism for hiding the content. You can specify the location of an image file to use in the icon; otherwise a default icon is used.
hideMessagefalsetruejava.lang.StringText to display as a link for hiding the content. It overrides the hideImage attribute. Note that the showMessage attribute must also be configured in order for the hide message to render.
idfalsetruejava.lang.StringAn ID for the component instance.
showImagefalsetruejava.lang.StringAn icon to use as the mechanism for showing the content. You can specify the location of an image file to use in the icon; otherwise a default icon is used.
showMessagefalsetruejava.lang.StringA link to use as the mechanism for showing the content. The text value of this attribute is used as the link's text. The message takes precedence over showing an image, via the showImage attribute. If you specify a showMessage attribute, you should also specify the hideMessage attribute; a null is otherwise displayed for the text of the hide link.
stateVarfalsetruejava.lang.StringText to be prefixed to the Toggle() function that is called to toggle visibility of the content. If this is not configured, a random key is generated and prefixed to the Toggle() function. For example, a value of run would result in a function named runToggle().

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.