|
© 2004 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.netuix.servlets.controls.ControlContext
com.bea.netuix.servlets.controls.PresentationContext
com.bea.netuix.servlets.controls.application.BodyPresentationContext
This class represents a portal body component. All presentation-related attributes of a body component are available from instances of this class. Such instances are typically used during portal rendering via look and feel skeleton files (e.g. body.jsp).
getBodyPresentationContext(javax.servlet.http.HttpServletRequest)
,
Serialized FormMethod Summary | |
static BodyPresentationContext |
getBodyPresentationContext(HttpServletRequest request)
This is a convenience method for returning a reference to the one and only BodyPresentationContext .
|
String |
getOnloadScript()
Returns any configured onload script code that should appear in an HTML/XHTML body's onload attribute. |
String |
getOnunloadScript()
Returns any configured 'onunload' script code that should appear in an HTML/XHTML body's 'onunload' attribute. |
Methods inherited from class com.bea.netuix.servlets.controls.PresentationContext |
getChildren, getChildren, getFirstChild, getParsedProperties, getPresentationClass, getPresentationId, getPresentationStyle, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsInt, getResolvedLocale, getTagName, isVisible, setVisible |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public String getOnloadScript()
public String getOnunloadScript()
public static BodyPresentationContext getBodyPresentationContext(HttpServletRequest request)
BodyPresentationContext
.
Note this method will only work if called from within a portal (typically, from the body.jsp skeleton).
This method may return null if called when no appropriate context exists, but such a context should safely
exist when being fetched from the associated skeleton JSP during normal portal rendering.
request
- The current HTTPServletRequest instance
|
© 2004 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |