|
JSF-Spring | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.mindmatters.faces.FacesUtils
public final class FacesUtils
Miscellaneous faces utility methods. Mainly for internal use within the framework.
Field Summary | |
---|---|
static java.lang.String |
TRANSIENT_PARAM
Parameter name for the transient flag. |
static java.lang.String |
VIEWID_PARAM
Parameter name for the view id. |
Method Summary | |
---|---|
static java.lang.String |
decodeViewId(FacesContext context)
Decodes the view id of the current request. |
static java.lang.String |
encodeViewId(FacesContext context)
Encodes the view id of the current UIViewRoot . |
static java.lang.String |
getDefaultSuffix(FacesContext context)
Returns the value to use for the default extension if the webapp is using url extension mapping. |
static boolean |
isPostback(FacesContext context)
Try to guess if this is a postback request. |
static boolean |
isValueReference(java.lang.String value)
Checks whether the string value is a value binding
compatible string or not. |
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 VIEWID_PARAM
public static final java.lang.String TRANSIENT_PARAM
Method Detail |
---|
public static boolean isPostback(FacesContext context)
context
- FacesContext that holds request information
true
if it's a postback request false
otherwise.public static java.lang.String getDefaultSuffix(FacesContext context)
context
- FacesContext that holds request information
public static java.lang.String encodeViewId(FacesContext context)
UIViewRoot
.
context
- FacesContext that holds request information
public static java.lang.String decodeViewId(FacesContext context)
context
- FacesContext that holds request information
public static boolean isValueReference(java.lang.String value)
value
is a value binding
compatible string or not.
value
- the string to check
true
if value
is a value binding
compatible string else false
|
JSF-Spring | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |