org.springframework.ldap.samples.person.web
Class EditPersonFormAction

java.lang.Object
  extended by org.springframework.webflow.action.AbstractAction
      extended by org.springframework.webflow.action.MultiAction
          extended by org.springframework.webflow.action.FormAction
              extended by org.springframework.ldap.samples.person.web.EditPersonFormAction
All Implemented Interfaces:
InitializingBean, org.springframework.webflow.execution.Action

public class EditPersonFormAction
extends org.springframework.webflow.action.FormAction

Action implementation that handles edit of a person. Registers appropriate property editors, and provides an action method for setting up reference data.

Author:
Mattias Arthursson, Ulrik Sandberg

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.webflow.action.MultiAction
org.springframework.webflow.action.MultiAction.MethodResolver
 
Field Summary
 
Fields inherited from class org.springframework.webflow.action.FormAction
DEFAULT_FORM_OBJECT_NAME, VALIDATOR_METHOD_ATTRIBUTE
 
Fields inherited from class org.springframework.webflow.action.AbstractAction
logger
 
Constructor Summary
EditPersonFormAction()
           
 
Method Summary
protected  void initAction()
           
 org.springframework.webflow.execution.Event referenceData(org.springframework.webflow.execution.RequestContext context)
           
protected  void registerPropertyEditors(org.springframework.webflow.execution.RequestContext context, PropertyEditorRegistry registry)
           
 void setChainedOptionManager(net.sf.chainedoptions.ChainedOptionManager chainedOptionManager)
           
 
Methods inherited from class org.springframework.webflow.action.FormAction
bind, bindAndValidate, createBinder, createFormObject, doBind, doValidate, getFormErrors, getFormErrorsScope, getFormObject, getFormObjectAccessor, getFormObjectClass, getFormObjectName, getFormObjectScope, getMessageCodesResolver, getPropertyEditorRegistrar, getValidateMethodInvoker, getValidator, initBinder, registerPropertyEditors, resetForm, setFormErrorsScope, setFormObjectClass, setFormObjectName, setFormObjectScope, setMessageCodesResolver, setPropertyEditorRegistrar, setupForm, setValidator, validate, validationEnabled
 
Methods inherited from class org.springframework.webflow.action.MultiAction
doExecute, getMethodResolver, setMethodResolver, setTarget
 
Methods inherited from class org.springframework.webflow.action.AbstractAction
afterPropertiesSet, doPostExecute, doPreExecute, error, error, execute, getActionNameForLogging, getEventFactorySupport, no, result, result, result, result, success, success, yes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.beans.factory.InitializingBean
afterPropertiesSet
 

Constructor Detail

EditPersonFormAction

public EditPersonFormAction()
Method Detail

registerPropertyEditors

protected void registerPropertyEditors(org.springframework.webflow.execution.RequestContext context,
                                       PropertyEditorRegistry registry)
Overrides:
registerPropertyEditors in class org.springframework.webflow.action.FormAction

referenceData

public org.springframework.webflow.execution.Event referenceData(org.springframework.webflow.execution.RequestContext context)
                                                          throws Exception
Throws:
Exception

initAction

protected void initAction()
Overrides:
initAction in class org.springframework.webflow.action.FormAction

setChainedOptionManager

public void setChainedOptionManager(net.sf.chainedoptions.ChainedOptionManager chainedOptionManager)


Copyright © 2006-2011 Spring Framework. All Rights Reserved.