|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
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.LayoutPresentationContext
public class LayoutPresentationContext
Used to provide access to presentation-related attributes specific to the
Layout
in use. Typically used during portal rendering via look and feel skeleton files. The skeleton
file name for a Layout
portal component must be <type>layout.jsp, where <type> is the
string specified by the type attribute in the Layout
portal component. For example:
<netuix:layout type="custom" title="Custom Layout" ...>
will delegate rendering tasks to customlayout.jsp in your skeleton directory.
getLayoutPresentationContext(javax.servlet.http.HttpServletRequest)
,
Serialized FormField Summary | |
---|---|
protected static String |
CLASS_NAME
|
Method Summary | |
---|---|
static LayoutPresentationContext |
getLayoutPresentationContext(javax.servlet.http.HttpServletRequest request)
This is a convenience method for returning a reference to the one and only LayoutPresentationContext. |
List |
getPlaceholders()
This is a convenience method for getting PlaceholderPresentationContext s
for all placeholder children of this layout. |
String |
getType()
Returns the text of the type attribute that corresponds to this Layout portal component. |
Methods inherited from class com.bea.netuix.servlets.controls.PresentationContext |
---|
getAttributeRenderer, getChildren, getChildren, getFirstChild, getOrderedChildren, getParsedProperties, getPresentationClass, getPresentationId, getPresentationStyle, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsInt, getRenderFormat, getResolvedLocale, getTagName, isVisible, 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 getType()
Layout
portal component.
public List getPlaceholders()
PlaceholderPresentationContext
s
for all placeholder children of this layout. The same functionality can be achieved by
calling PresentationContext#getChildren()
.
PlaceholderPresentationContext
s of all
immediate placeholder children of this layout, or null if no placeholder
children exist.public static LayoutPresentationContext getLayoutPresentationContext(javax.servlet.http.HttpServletRequest request)
request
- The current HTTPServletRequest instance
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |