Instances of the Context class represent contextual information related to the rendered
Portal. Context is intended to be an abstract base class from which specific
context types are derived.
| Method Summary |
| Method Detail |
Instances of the HookedContext class represent visible components of the rendered
Portal. HookedContext is intended to be an abstract base class from which specific
context types are derived.
| Method Summary | |
public static object
|
findByElement(element, [self])
Returns the context object containing the specified element. |
public static object[]
|
getAll()
Returns all visible context objects. |
public Element
|
getMarkupElement()
Returns the DOM Element associated with this object.
|
| Method Detail |
public static object findByElement(element, [self])
ele
represents a node within the content of a Portlet, the following results can be expected:
Portlet.findByElement(ele); // Returns Portlet Layout.findByElement(ele); // Returns Layout
Element element -
The element expected to be contained within the context objectboolean [self] - true starts the search at the element passed as an argument; false (default) starts the
search at the element's parentobject -
The context object containing the specified element; null if the specified element
is not contained within a context objectpublic static object[] getAll()
Portlet.getAll(); // Returns all visible Portlets Placeholder.getAll(); // Returns all visible Placeholders
object[] -
Array of all visible Window objectspublic Element getMarkupElement()
Element associated with this object.
NOTE: The Element returned by this method is a container provided by Portal.
This container should be considered an immutable opaque object, and any particular characteristics
of the container (properties, attributes, etc.) are subject to change in future releases. The only
supported uses of this container are operations on its children, including the removal, addition
and update of children.Element -
The DOM Element associated with this object
Instances of the MetaContext class represent singletons containing information about
the rendered Portal. MetaContext is intended to be an abstract base class from which specific
context types are derived.
| Method Summary | |
public static object
|
getInstance()
Returns the instance of the appropriate meta context object. |
| Method Detail |
public static object getInstance()
Application.getInstance(); Shell.getInstance();
object -
The meta context object
Instances of the PresentationContext class represent presentation-oriented components
of the rendered Portal. PresentationContext is intended to be an abstract base class
from which specific context types are derived.
| Method Summary | |
public string
|
getPresentationClass()
Returns the value of the "presentationClass" attribute for this object, if defined. |
public string
|
getPresentationId()
Returns the value of the "presentationId" attribute for this object, if defined. |
public string
|
getPresentationStyle()
Returns the value of the "presentationStyle" attribute for this object, if defined. |
| Method Detail |
public string getPresentationClass()
string -
The value of the "presentationClass" attribute for this object;
null if not definedpublic string getPresentationId()
string -
The value of the "presentationId" attribute for this object;
null if not definedpublic string getPresentationStyle()
string -
The value of the "presentationStyle" attribute for this object;
null if not defined| Generated on Mon Feb 25 2008 09:52:51 GMT-0700 (MST). | BEA Systems, Inc. All rights reserved. |