HeadPresentationContext Class

com.bea.netuix.servlets.controls.application
HeadPresentationContext Class

public class HeadPresentationContext

    extends PresentationContext

This class represents a portal head component. All presentation-related attributes of a head component are available from instances of this class. Such instances are typically used during portal rendering via look and feel skeleton files (e.g. head.jsp).

Related Topics

HeadPresentationContext.getHeadPresentationContext(HttpServletRequest)


Hierarchy
Object
  ControlContext
    PresentationContext
      HeadPresentationContext
All Implemented Interfaces

Serializable

Field Summary

protected static final String
CLASS_NAME
String
   
Fields from  com.bea.netuix.servlets.controls.ControlContext
debug
 

Constructor Summary

 

Method Summary

public static HeadPresentationContext
getHeadPresentationContext(HttpServletRequest request)
This is a convenience method for returning a reference to the one and only HeadPresentationContext.
 
Methods from  com.bea.netuix.servlets.controls.PresentationContext
getChildren, getChildren, getFirstChild, getParsedProperties, getPresentationClass, getPresentationId, getPresentationStyle, getProperties, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsInt, getResolvedLocale, getTagName, isVisible, setVisible
 
Methods from  com.bea.netuix.servlets.controls.ControlContext
getContextFromRequest, getContextKey, getControl, getRequestKey, getUniqueId, removeContextFromRequest, setContextInRequest
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Field Detail

CLASS_NAME

protected static final String CLASS_NAME

 

Constructor Detail

 

Method Detail

getHeadPresentationContext(HttpServletRequest) Method

public static HeadPresentationContext getHeadPresentationContext(HttpServletRequest request)
This is a convenience method for returning a reference to the one and only HeadPresentationContext. Note this method will only work if called from within a portal (typically, from the head.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.

Parameters

request
The current HTTPServletRequest instance

Returns

A reference to the current HeadPresentationContext, if any