|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.netuix.servlets.controls.ControlContext | +--com.bea.netuix.servlets.controls.PresentationContext | +--com.bea.netuix.servlets.controls.window.WindowPresentationContext | +--com.bea.netuix.servlets.controls.portlet.PortletPresentationContext
The PortletPresentationContext
is used to effect the underlying portlet. This is the PresentationContext for a portlet.
This PortletPresentationContext
can only be referenced from a JSP. If you think you need to reference
this from a Backing File
you should look at PortletBackingContext
.
To get a handle to the PresentationContext just call the following:
PortletPresentationContext.getPortletPresentationContext(request);
Field Summary |
Fields inherited from class com.bea.netuix.servlets.controls.ControlContext |
debug |
Method Summary | |
String |
getInstanceLabel()
Return the unique label for the portlet. |
String |
getLabel()
Return the unique label for the portlet. |
static PortletPresentationContext |
getPortletPresentationContext(HttpServletRequest request)
Returns PortletPresentationContext that is in the request. |
String |
getPortletUri()
Getter for the portlet's URI. |
PortletPreferences |
getPreferences(HttpServletRequest request)
Returns a read-only copy of preferences for this portlet. |
boolean |
isDefaultMinimized()
Returns the value for defaultMinimized |
Methods inherited from class com.bea.netuix.servlets.controls.window.WindowPresentationContext |
getContentPresentationClass, getContentPresentationContextChildren, getContentPresentationStyle, getDefinitionId, getDefinitionLabel, getInstanceId, getOrientation, getParentPagePresentationContext, getTitle, getWindowMode, getWindowPresentationContext, getWindowState, isCapable, isPacked |
Methods inherited from class com.bea.netuix.servlets.controls.PresentationContext |
getChildren, getChildren, getControlState, getFirstChild, getParsedProperties, getPresentationClass, getPresentationId, getPresentationStyle, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsInt, getResolvedLocale, getTagName, isVisible, render, setVisible |
Methods inherited from class com.bea.netuix.servlets.controls.ControlContext |
getContextFromRequest, getControl, getRequestKey, getUniqueId, removeContextFromRequest, setContextInRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public String getInstanceLabel()
instanceLabel
.
public String getLabel()
instanceLabel
.
getLabel
in class WindowPresentationContext
public String getPortletUri()
Example: /portlets/myportlet/myportlet.portlet
public boolean isDefaultMinimized()
defaultMinimized.
public static PortletPresentationContext getPortletPresentationContext(HttpServletRequest request)
PortletPresentationContext
that is in the request.
request
-
public PortletPreferences getPreferences(HttpServletRequest request)
Returns a read-only copy of preferences for this portlet.
request
- HTTP request
|
© 2003 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |