|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.application.ViewHandler
com.sun.faces.application.view.MultiViewHandler
edu.uoc.tcfj2ee_gatd.controlador.usuaris.GATDViewHandler
public class GATDViewHandler
Controlador de vista JSF que pren el "locale" d'un atribut de la sessió HTTP.
Codi tret del llibre "Beginning JSF™ 2 APIs and JBoss® Seam" de Kent Ka Iok Tong. Ed. Apress, maig 2009.
Field Summary |
---|
Fields inherited from class javax.faces.application.ViewHandler |
---|
CHARACTER_ENCODING_KEY, DEFAULT_FACELETS_SUFFIX, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME, FACELETS_SUFFIX_PARAM_NAME, FACELETS_VIEW_MAPPINGS_PARAM_NAME |
Constructor Summary | |
---|---|
GATDViewHandler()
|
Method Summary | |
---|---|
java.util.Locale |
calculateLocale(javax.faces.context.FacesContext context)
|
Methods inherited from class com.sun.faces.application.view.MultiViewHandler |
---|
addViewParameters, calculateRenderKitId, convertViewId, createView, derivePhysicalViewId, deriveViewId, findMatch, getActionURL, getBookmarkableURL, getFullParameterList, getRedirectURL, getResourceURL, getViewDeclarationLanguage, initView, normalizeRequestURI, renderView, restoreView, send404Error, writeState |
Methods inherited from class javax.faces.application.ViewHandler |
---|
calculateCharacterEncoding |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GATDViewHandler()
Method Detail |
---|
public java.util.Locale calculateLocale(javax.faces.context.FacesContext context)
calculateLocale
in class com.sun.faces.application.view.MultiViewHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |