org.apache.myfaces.shared_tomahawk.application
Interface ViewHandlerSupport

All Known Implementing Classes:
DefaultViewHandlerSupport

public interface ViewHandlerSupport

TODO: RENAME - This class is now used by ViewDeclarationLanguageBase A utility class to isolate a ViewHandler implementation from the underlying request/response framework.

For example, an implementation of this interface might support javax.servlet, javax.portlet, or some other mechanism.

Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Mathias Broekelmann (latest modification by $Author: bommel $)

Method Summary
 String calculateActionURL(javax.faces.context.FacesContext facesContext, String viewId)
          Return a string containing a webapp-relative URL that the user can invoke to render the specified view.
 String calculateAndCheckViewId(javax.faces.context.FacesContext context, String viewId)
           
 String calculateViewId(javax.faces.context.FacesContext context, String viewId)
           
 

Method Detail

calculateViewId

String calculateViewId(javax.faces.context.FacesContext context,
                       String viewId)

calculateAndCheckViewId

String calculateAndCheckViewId(javax.faces.context.FacesContext context,
                               String viewId)

calculateActionURL

String calculateActionURL(javax.faces.context.FacesContext facesContext,
                          String viewId)
Return a string containing a webapp-relative URL that the user can invoke to render the specified view.

URLs and ViewIds are not quite the same; for example a url of "/foo.jsf" or "/faces/foo.jsp" may be needed to access the view "/foo.jsp".



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.