Class ParametersActionFactoryProxy


public class ParametersActionFactoryProxy extends ActionFactoryProxy
Sets properties on an action from parameters after locating it through the action factory proxy chain.
Version:
$Revision: 1.10 $
Author:
Rickard Öberg (rickard@middleware-company.com)
  • Constructor Details

    • ParametersActionFactoryProxy

      public ParametersActionFactoryProxy(ActionFactory aFactory)
  • Method Details

    • getActionImpl

      public Action getActionImpl(String aName) throws Exception
      Sets properties on the obtained action from the parameters. If an IllegalArgumentException is thrown, a ResultException will be thrown with "error" as the result. This means that if a view is mapped to "error" then the user will be returned and the field causing the error will be highlighted.
      Specified by:
      getActionImpl in class ActionFactory
      Parameters:
      aName - name of action to check for a match
      Throws:
      Exception
      See Also: