Designing and Implementing Composite Applications : My webMethods Server Portlet Reference : Legacy Portlets and Backwards Compatibility : Toggle Opened/Closed Portlet
Toggle Opened/Closed Portlet
Portlet Title
Toggle Opened/Closed
Portlet Name
wm_toggle
Portlet File Name
wm_toggle.pdp
Top-level Folder
extras
JSR168 Portlet?
No
Alias
/portlet/wm_toggle
Default Instances of the portlet
None
Page components. End users use this portlet to toggle the visibility of an element in another portlet. The portlet is intended for use only with legacy portlets for which toggling capabilities are not available. It it not needed for newer portlets because the webMethods CAF toolkit provides several methods for toggling whether controls are visible or hidden.
A page developer adds the Toggle Opened/Closed portlet to a page and configures it to identify the element to toggle. The portlet displays a toggle icon that the end user uses to toggle the display of the element.
Properties
Target IDRef (targetId)
Identifies the element for which to toggle the display. Specify the ID of an element in another portlet. If this property has no value, the Toggle Opened/Closed portlet does not display the toggle icon.
Direction Opened (directionOpened)
Indicates the direction that the toggle icon, an open arrow, should point. Specify one of the following:
r
Default. Display the open arrow pointing to the right.
l
Display the open arrow pointing to the left.
u
Display the open arrow pointing up.
d
Display the open arrow pointing down.
Initially Opened (initiallyOpened)
Indicates whether to initially make the toggled element visible or hidden. Specify one of the following:
true
Default. Initially open the toggled element so that it is visible.
false
Initially close the toggled element so that it is hidden.
Save In Cookie (saveInCookie)
Indicates whether to save the current toggle state in a cookie sot that the next time the page is displayed, the saved toggle state is used. Specify one of the following:
true
Save the toggle state in a cookie. If the saved state is hidden, the next time the page is displayed the element is hidden; if the saved state is visible, the next time the page is displayed the element is visible.
false
Default. Do not save the toggle state.
Cache Age (cacheAge)
Indicates how long, in minutes, to keep the content of the portlet in cache. All instances of the portlet share the value of this property. Specify one of the following:
0
Default. Do not cache the content.
n
Cache the content for the specified number of minutes (n).
-1
Cache the content indefinitely.
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback