@Named @RequestScoped public class TobagoContext extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_NAME |
static String |
ENCTYPE_KEY |
static String |
FOCUS_ID_KEY |
Constructor and Description |
---|
TobagoContext() |
Modifier and Type | Method and Description |
---|---|
String |
getEnctype() |
String |
getFocusId() |
static TobagoContext |
getInstance(javax.faces.context.FacesContext facesContext) |
ResourceBundle |
getMessageBundle()
Deprecated.
since 5.0.0. Please use
MessageUtils . |
ResourceBundle |
getResourceBundle()
Deprecated.
since 5.0.0. Please use
ResourceUtils.getString(java.lang.String) in Java or
#{tobagoResourceBundle.key} in Facelets. |
Theme |
getTheme() |
TobagoConfig |
getTobagoConfig() |
UserAgent |
getUserAgent() |
void |
setEnctype(String enctype) |
void |
setFocusId(String focusId) |
void |
setTheme(Theme theme) |
void |
setUserAgent(UserAgent userAgent) |
public static final String BEAN_NAME
public static final String FOCUS_ID_KEY
public static final String ENCTYPE_KEY
@Deprecated public ResourceBundle getResourceBundle()
ResourceUtils.getString(java.lang.String)
in Java or
#{tobagoResourceBundle.key} in Facelets.@Deprecated public ResourceBundle getMessageBundle()
MessageUtils
.public TobagoConfig getTobagoConfig()
public Theme getTheme()
public void setTheme(Theme theme)
public UserAgent getUserAgent()
public void setUserAgent(UserAgent userAgent)
public String getFocusId()
public void setFocusId(String focusId)
public String getEnctype()
public void setEnctype(String enctype)
public static TobagoContext getInstance(javax.faces.context.FacesContext facesContext)
Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.