|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.tobago.context.ClientProperties
public class ClientProperties
The ClientProperties contains data, which are individual for each user. It is stored in the session by default, but the application can override this in the faces-config.xml.
The managed bean name which is Tobago using for the instance isMANAGED_BEAN_NAME
.
Please use VariableResolverUtils.resolveClientProperties(FacesContext)
to access to the users client properties.
Field Summary | |
---|---|
static String |
MANAGED_BEAN_NAME
The name of the managed bean |
Constructor Summary | |
---|---|
ClientProperties()
managed bean constructor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String MANAGED_BEAN_NAME
Constructor Detail |
---|
public ClientProperties()
Method Detail |
---|
@Deprecated public static ClientProperties getDefaultInstance(FacesContext facesContext)
@Deprecated public static ClientProperties getInstance(UIViewRoot viewRoot)
VariableResolverUtils.resolveClientProperties(javax.faces.context.FacesContext)
@Deprecated public static ClientProperties getInstance(FacesContext facesContext)
VariableResolverUtils.resolveClientProperties(javax.faces.context.FacesContext)
@Deprecated public static List<String> getLocaleList(Locale locale, boolean propertyPathMode)
LocaleUtils.getLocaleSuffixList(java.util.Locale)
public String getContentType()
public void setContentType(String contentType)
public Theme getTheme()
public void setTheme(Theme theme)
public UserAgent getUserAgent()
public void setUserAgent(UserAgent userAgent)
public boolean isDebugMode()
public void setDebugMode(boolean debugMode)
public Locale getLocale()
public void setLocale(Locale locale)
UIViewRoot.setLocale(Locale locale)
public Measure getVerticalScrollbarWeight()
public void setVerticalScrollbarWeight(Measure verticalScrollbarWeight)
public Measure getHorizontalScrollbarWeight()
public void setHorizontalScrollbarWeight(Measure horizontalScrollbarWeight)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |