PATH |
The WOCollapsibleComponentContent component allows the user
to display (expand) or hide (collapse) the content (that is, everything
between the <WEBOBJECT...> and </WEBOBJECT...>
tags
in the template file). When the content is collapsed, it is replaced
with an image, which defaults to
. Clicking
the image expands the content. When the content is expanded, it
is displayed below an image, which defaults to
.
Clicking the image collapses the content.
This component can be embedded within a WOForm. When the WOCollapsibleComponentContent contains
form fields that are bound to an enterprise object's attributes,
the HTML element the user clicks to collapse the content must be
a submit button. This ensures that the values the user types into these
fields get stored in the enterprise object upon collapse. If the
HTML element the user clicks is a hyperlink, the enterprise object's
attributes are not updated when the user collapses the content and
the form field values will not reappear when the user expands the
content again. The submitActionName
binding
determines the whether the HTML element that collapses the content
is a hyperlink or a submit button.
framework
attribute.)
If this attribute is not defined, WOCollapsibleComponentContent
displays
.framework
attribute.)
If this attribute is not defined, WOCollapsibleComponentContent
displays
.openedImageFileName
and closedImageFileName
come
from. Defaults to the application.submitActionName
is
not defined or is set to null
, the
HTML element that expands the content is a hyperlink. Otherwise
the it is a submit button. If you want to expand the content with
a submit button, but don't want it to invoke an action, set this
attribute to the empty string (""
).