[OmniFaces utilities] The
isSessionNew() method returns whether the HTTP session has been created for the first time in the current request (returns true). If not, returns false. This returns also false when there is no means of a HTTP session.Method:
See also: Faces#getContext() | Faces#getSession()
Usage:
boolean
issessionnew = Faces.isSessionNew();
if(issessionnew){
// do something
} else {
// do something else
}






Arrays
Converters
JSF 2 Tutorials at www.mkyong.com
JavaServer Faces (JSF) Tutorial 


















Niciun comentariu :
Trimiteți un comentariu