|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
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.application.ShellPresentationContext
public class ShellPresentationContext
This class represents a portal shell component. All presentation-related attributes of a shell component are available from instances of this class. Such instances are typically used during portal rendering via look and feel skeleton files (e.g. shell.jsp).
getShellPresentationContext(javax.servlet.http.HttpServletRequest)
, Serialized FormField Summary | |
---|---|
protected static String |
CLASS_NAME |
Method Summary | |
---|---|
BodyPresentationContext |
getBodyPresentationContext() Returns the BodyPresentationContext contained by this shell. |
BookPresentationContext |
getBookPresentationContext() Returns the BookPresentationContext for the Portal's primary book, contained by this shell. |
HeadPresentationContext |
getHeadPresentationContext() Returns the HeadPresentationContext contained by this shell. |
static ShellPresentationContext |
getShellPresentationContext(javax.servlet.http.HttpServletRequest request) This is a convenience method for returning a reference to the one and only ShellPresentationContext . |
Methods inherited from class com.bea.netuix.servlets.controls.PresentationContext |
---|
addCookie, addDateHeader, addHeader, addIntHeader, getAttributeRenderer, getChildren, getChildren, getFirstChild, getOrderedChildren, getParsedProperties, getPresentationClass, getPresentationId, getPresentationStyle, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsInt, getRenderFormat, getResolvedLocale, getTagName, isVisible, setCharacterEncoding, setContentType, setVisible |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String CLASS_NAME
Method Detail |
---|
public static ShellPresentationContext getShellPresentationContext(javax.servlet.http.HttpServletRequest request)
ShellPresentationContext
. Note this method will only work if called from within a portal (typically, from the shell.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 instancepublic BookPresentationContext getBookPresentationContext()
BookPresentationContext
for the Portal's primary book, contained by this shell.public HeadPresentationContext getHeadPresentationContext()
HeadPresentationContext
contained by this shell. There should be exactly one head component per portal. The head component typically corresponds to an HTML <head/> tag, but this is not a requirement.public BodyPresentationContext getBodyPresentationContext()
BodyPresentationContext
contained by this shell. There should be exactly one body component per portal. The body component typically corresponds to an HTML <body/> tag, but this is not a requirement.
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.