org.springframework.webflow.executor.jsf
Interface ViewIdMapper

All Known Implementing Classes:
FlowPhaseListener.DefaultViewIdMapper

public interface ViewIdMapper

Interface to be implemented by objects that can map Web Flow view names to JSF view identifiers. JSF view identifiers are used to determine if the current view has changed and to create views by delegating to the application's ViewHandler. A view handler typically treats a JSF view id as the physical location of a view template encapsulating a page layout. The JSF view id normally specifies the physical location of the view template minus a suffix. View handlers typically replace the suffix of any view id with their own default suffix (e.g. ".jsp" or ".xhtml") and then try to locate a physical template view.

Author:
Colin Sampaleanu

Method Summary
 java.lang.String mapViewId(java.lang.String viewName)
          Map the given Spring Web Flow view name to a JSF view identifier.
 

Method Detail

mapViewId

java.lang.String mapViewId(java.lang.String viewName)
Map the given Spring Web Flow view name to a JSF view identifier.

Parameters:
viewName - name of the view to map
Returns:
the corresponding JSF view id


Copyright © 2004-2007. All Rights Reserved.