|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.portlet.PortletUtil
public class PortletUtil
Static utility class for portlet-related operations.
Field Summary | |
---|---|
static java.lang.String |
PORTLET_REQUEST_FLAG
This flag is imbedded in the request. |
Method Summary | |
---|---|
static boolean |
isPortletRequest(javax.faces.context.FacesContext facesContext)
Determine if we are running as a portlet. |
static boolean |
isRenderResponse(javax.faces.context.FacesContext facesContext)
Determine if we are processing a portlet RenderResponse. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PORTLET_REQUEST_FLAG
Method Detail |
---|
public static boolean isRenderResponse(javax.faces.context.FacesContext facesContext)
facesContext
- The current FacesContext.
true
if we are processing a RenderResponse,
false
otherwise.public static boolean isPortletRequest(javax.faces.context.FacesContext facesContext)
facesContext
- The current FacesContext.
true
if we are running as a portlet,
false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |