net.sf.jsfcomp.facelets.deploy
Class FaceletViewHandler

java.lang.Object
  extended by javax.faces.application.ViewHandler
      extended by com.sun.facelets.FaceletViewHandler
          extended by net.sf.jsfcomp.facelets.deploy.FaceletViewHandler

public class FaceletViewHandler
extends com.sun.facelets.FaceletViewHandler

Uses the FaceletViewHandler#initializeCompiler method to parse annotated classes on the classpath and register them with facelets.

If you are using Ajax4Jsf, you will need to register this class in the web.xml and not the faces-config.xml. You can look at ajax4jsf.dev.java.netfor more information

Author:
Andrew Robinson (andrew)

Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.facelets.FaceletViewHandler
com.sun.facelets.FaceletViewHandler.NullWriter
 
Field Summary
 
Fields inherited from class com.sun.facelets.FaceletViewHandler
DEFAULT_REFRESH_PERIOD, PARAM_BUFFER_SIZE, PARAM_BUILD_BEFORE_RESTORE, PARAM_DECORATORS, PARAM_DEVELOPMENT, PARAM_LIBRARIES, PARAM_REFRESH_PERIO, PARAM_RESOURCE_RESOLVER, PARAM_SKIP_COMMENTS, PARAM_VIEW_MAPPINGS
 
Fields inherited from class javax.faces.application.ViewHandler
CHARACTER_ENCODING_KEY, DEFAULT_SUFFIX, DEFAULT_SUFFIX_PARAM_NAME
 
Constructor Summary
FaceletViewHandler(javax.faces.application.ViewHandler parent)
           
 
Method Summary
protected  void initializeCompiler(com.sun.facelets.compiler.Compiler c)
           
 
Methods inherited from class com.sun.facelets.FaceletViewHandler
buildView, calculateLocale, calculateRenderKitId, createCompiler, createFaceletFactory, createResponseWriter, createView, getActionURL, getDefaultSuffix, getRenderedViewId, getResourceURL, getResponseContentType, getResponseEncoding, getWrapped, handleFaceletNotFound, handleRenderException, initialize, renderView, restoreView, writeState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaceletViewHandler

public FaceletViewHandler(javax.faces.application.ViewHandler parent)
Parameters:
parent -
Method Detail

initializeCompiler

protected void initializeCompiler(com.sun.facelets.compiler.Compiler c)
Overrides:
initializeCompiler in class com.sun.facelets.FaceletViewHandler
See Also:
FaceletViewHandler.initializeCompiler(com.sun.facelets.compiler.Compiler)


Copyright © 2007-2008. All Rights Reserved.