|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.tobago.portlet.PortletUtils
public final class PortletUtils
Static utility class for portlet-related operations.
| Method Summary | |
|---|---|
static void |
ensureEncoding(javax.faces.context.FacesContext facesContext)
|
static String |
getViewId(javax.faces.context.FacesContext facesContext)
|
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. |
static String |
setViewIdForUrl(javax.faces.context.FacesContext facesContext,
String viewId)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 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.public static String getViewId(javax.faces.context.FacesContext facesContext)
public static String setViewIdForUrl(javax.faces.context.FacesContext facesContext,
String viewId)
public static void ensureEncoding(javax.faces.context.FacesContext facesContext)
throws UnsupportedEncodingException
UnsupportedEncodingException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||