edu.uoc.tcfj2ee_gatd.controlador.usuaris
Class GATDViewHandler

java.lang.Object
  extended by javax.faces.application.ViewHandler
      extended by com.sun.faces.application.view.MultiViewHandler
          extended by edu.uoc.tcfj2ee_gatd.controlador.usuaris.GATDViewHandler

public class GATDViewHandler
extends com.sun.faces.application.view.MultiViewHandler

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.

Author:
Kent Ka Iok Tong, Jordi Tejero

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

GATDViewHandler

public GATDViewHandler()
Method Detail

calculateLocale

public java.util.Locale calculateLocale(javax.faces.context.FacesContext context)
Overrides:
calculateLocale in class com.sun.faces.application.view.MultiViewHandler