jp.terasoluna.fw.web.struts.action
Class ActionMappingEx

java.lang.Object
  extended by org.apache.struts.config.ActionConfig
      extended by org.apache.struts.action.ActionMapping
          extended by jp.terasoluna.fw.web.struts.action.ActionMappingEx
All Implemented Interfaces:
java.io.Serializable

public class ActionMappingEx
extends org.apache.struts.action.ActionMapping

Class extended from ActionMapping.

Following Specifications are extended in ActionMapping class of Struts.

When the identical name is given to the getter and setter of field, property may not get set. Therefore, in getter and setter, methods should not have identical name.
Property name of set-property specification given in struts-config.xml, should match with the setter.
To use this function, specify the class name in "type" attribute of <action-mappings> element in the struts-config.xml.

Configuration example of ActionMappingEx in struts-config.xml.

  <struts-config>
    ...
   <action-mappings
    type="jp.terasoluna.fw.web.struts.action.ActionMappingEx">
    ...
     <action path="/start"
       name="validateSampleForm"
       scope="session">
       ...
     </action>
    ...
   </action-mappings>
 ...
 

See Also:
RequestProcessorEx, Serialized Form

Constructor Summary
ActionMappingEx()
           
 
Method Summary
 boolean getCancelPopulate()
          Fetches population cancellation flag.
 boolean getClearForm()
          Fetches action form clear flag.
 void setCancelPopulate(boolean cancelPopulate)
          Sets population cancellaton flag.
 void setClearForm(boolean clearForm)
          Sets action form clear flag.
 
Methods inherited from class org.apache.struts.action.ActionMapping
findForward, findForwards, getInputForward
 
Methods inherited from class org.apache.struts.config.ActionConfig
addExceptionConfig, addForwardConfig, findException, findExceptionConfig, findExceptionConfigs, findForwardConfig, findForwardConfigs, freeze, getAttribute, getCancellable, getForward, getInclude, getInput, getModuleConfig, getMultipartClass, getName, getParameter, getPath, getPrefix, getRoleNames, getRoles, getScope, getSuffix, getType, getUnknown, getValidate, removeExceptionConfig, removeForwardConfig, setAttribute, setCancellable, setForward, setInclude, setInput, setModuleConfig, setMultipartClass, setName, setParameter, setPath, setPrefix, setRoles, setScope, setSuffix, setType, setUnknown, setValidate, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionMappingEx

public ActionMappingEx()
Method Detail

setClearForm

public void setClearForm(boolean clearForm)
Sets action form clear flag.

Parameters:
clearForm - Action form clear flag

getClearForm

public boolean getClearForm()
Fetches action form clear flag.

Returns:
Action form clear flag

setCancelPopulate

public void setCancelPopulate(boolean cancelPopulate)
Sets population cancellation flag.

Parameters:
cancelPopulate - Population cancellation flag.

getCancelPopulate

public boolean getCancelPopulate()
Fetches population cancellation flag.

Returns:
Population cancellation flag.