|
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.layout.PlaceholderPresentationContext
public class PlaceholderPresentationContext
Used to provide access to presentation-related attributes specific to the Placeholder
in use. Typically used during portal rendering via look and feel skeleton files (specifically: JSPs used in layout components, e.g. gridlayout.jsp).
getPlaceholderPresentationContext(javax.servlet.http.HttpServletRequest)
, Serialized FormField Summary | |
---|---|
protected static String |
CLASS_NAME |
Method Summary | |
---|---|
String |
getFlow() Returns the text of the flow attribute for this Placeholder portal component. |
LayoutPresentationContext |
getParentLayoutPresentationContext() This method returns this PlaceholderPresentationContext 's parent LayoutPresentationContext . |
static PlaceholderPresentationContext |
getPlaceholderPresentationContext(javax.servlet.http.HttpServletRequest request) This is a convenience method for returning a reference to the one and only PlaceholderPresentationContext for a given Placeholder portal component. |
String |
getTitle() Returns the text of the title attribute for this Placeholder portal component. |
String |
getWidth() Returns the value of the width attribute for this Placeholder portal component. |
boolean |
isImplicitPlaceholder() This attribute is used to indicate whether this Placeholder was created implicitely to handle 'usingFlow' duties, or explicitely by a <netuix:placeholder> control. |
boolean |
isUsingFlow() Returns the value of the isUsingFlow attribute for this Placeholder portal component. |
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 String getTitle()
Placeholder
portal component.public String getFlow()
Placeholder
portal component. The flow attribute can be either FlowLayout.ORIENT_HORIZONTAL
or FlowLayout.ORIENT_VERTICAL
.FlowLayout.ORIENT_HORIZONTAL
, FlowLayout.ORIENT_VERTICAL
public boolean isUsingFlow()
Placeholder
portal component. If true, a FlowLayout
will be used within this Placeholder
to manage its contents.public String getWidth()
Placeholder
portal component. The width attribute can be used to set the width of a <td> HTML element within a layout JSP, for example.public boolean isImplicitPlaceholder()
Placeholder
was created implicitely to handle 'usingFlow' duties, or explicitely by a <netuix:placeholder> control.Placeholder
was created implicitely, false otherwise.public LayoutPresentationContext getParentLayoutPresentationContext()
PlaceholderPresentationContext
's parent LayoutPresentationContext
.PlaceholderPresentationContext
's parent LayoutPresentationContext
, or null if one doesn't exist.public static PlaceholderPresentationContext getPlaceholderPresentationContext(javax.servlet.http.HttpServletRequest request)
Placeholder
portal component. Note this method will only work if called from within a portal (typically, from within a *layout.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
|
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.