org.apache.myfaces.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: 761982 $ $Date: 2009-04-04 13:44:59 -0500 (Sat, 04 Apr 2009) $
Author:
Mathias Broekelmann (latest modification by $Author: slessard $)

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

Method Detail

calculateViewId

java.lang.String calculateViewId(FacesContext context,
                                 java.lang.String viewId)

calculateActionURL

java.lang.String calculateActionURL(FacesContext facesContext,
                                    java.lang.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 © 2009 The Apache Software Foundation. All Rights Reserved.