Cookie Notice

public class

ConfigurationViewMapping

extends Object
implements ViewMapping
java.lang.Object
   ↳ webwork.dispatcher.ConfigurationViewMapping

Class Overview

View mapping that uses the Configuration. This maps {action name, view name} tuples to views, e.g. JSP files.

The algorithm first queries the configuration for the actionName.viewName entry. If found, then that is used. If not found, then parts of the action name is removed until a match is found. For example, if there is a configuration entry for "foo.success", and the action name is "foo.bar" and the view is "success", then there will be a miss when looking for "foo.bar.success" but a hit for "foo.success", which will thus be used.

Summary

Public Constructors
ConfigurationViewMapping()
Public Methods
Object getView(String anActionName, String aViewName)
Get view corresponding to given action and view names
[Expand]
Inherited Methods
From class java.lang.Object
From interface webwork.dispatcher.ViewMapping

Public Constructors

public ConfigurationViewMapping ()

Public Methods

public Object getView (String anActionName, String aViewName)

Get view corresponding to given action and view names

Feedback?
View cookie preferences