org.apache.myfaces.shared.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(FacesContext facesContext, String viewId)
          Return a string containing a webapp-relative URL that the user can invoke to render the specified view.
 String calculateAndCheckViewId(FacesContext context, String viewId)
           
 String calculateViewId(FacesContext context, String viewId)
           
 

Method Detail

calculateViewId

String calculateViewId(FacesContext context,
                       String viewId)

calculateAndCheckViewId

String calculateAndCheckViewId(FacesContext context,
                               String viewId)

calculateActionURL

String calculateActionURL(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 © 2014 The Apache Software Foundation. All Rights Reserved.