About the ALI Scripting Framework
The ALI Scripting Framework is a client-side JavaScript
library that provides services to pagelets, portlets and hosted gatewayed
pages. The Portlet Communication Component (PCC) is contained within
the Scripting Framework.
The ALI Scripting Framework allows pagelets to:
- Store and share session state through browser level variables. Browser-level variables can be stored and shared among pagelets,
even pagelets that are not on the same page. For example, a value
entered by the user in one pagelet can be retrieved by another. The
Scripting Framework acts as an intermediary, allowing all pagelets
in the portal access to all values stored in a common session. For
details, see Using Session Preferences.
- Leverage page-level events. A portlet can respond when
specific events happen, such as when the page loads or when the browser
focus changes. For details, see Using ALI Scripting Framework Event Notification.
- Refresh portlet content without reloading the portal page. Portlets can reload their internal content without refreshing the
portal page. For details, see Using In-Place Refresh.
- Open any ALI object from anywhere within the portal. The
CommonOpener_OpenObject function is included in every page generated
by the ALI application, and can be called from within a portlet through
the PRC. For details, see Retrieving ALI Object Managers Using IDK Remote APIs. You can also reference ALI objects in portlets and UI components
using Adaptive Tags. For details, see Accessing ALI Objects Using Adaptive Tags.
For a full list of classes and methods, see the
JSPortlet API documentation.