org.apache.cocoon.forms.formmodel
Class Submit

java.lang.Object
  extended byorg.apache.cocoon.forms.formmodel.AbstractWidget
      extended byorg.apache.cocoon.forms.formmodel.Action
          extended byorg.apache.cocoon.forms.formmodel.Submit
All Implemented Interfaces:
ActionListenerEnabled, Locatable, Widget

public class Submit
extends Action

A submit is an action that exits of the current form.

Version:
$Id: Submit.java 151179 2005-02-03 16:55:16Z tim $
Author:
Sylvain Wallez
See Also:
SubmitDefinitionBuilder

Field Summary
 
Fields inherited from class org.apache.cocoon.forms.formmodel.AbstractWidget
wasValid
 
Fields inherited from interface org.apache.cocoon.forms.formmodel.Widget
PATH_SEPARATOR
 
Constructor Summary
Submit(ActionDefinition definition, boolean validateForm)
           
 
Method Summary
protected  void handleActivate()
          Handle the fact that this action was activated.
 
Methods inherited from class org.apache.cocoon.forms.formmodel.Action
addActionListener, broadcastEvent, getDefinition, getXMLElementName, isValid, readFromRequest, removeActionListener, validate
 
Methods inherited from class org.apache.cocoon.forms.formmodel.AbstractWidget
addValidator, generateDisplayData, generateItemSaxFragment, generateLabel, generateSaxFragment, getAttribute, getChild, getCombinedState, getForm, getFullName, getId, getLocation, getName, getParent, getRequestParameterName, getState, getValue, getWidget, getXMLElementAttributes, initialize, isRequired, lookupWidget, removeAttribute, removeValidator, setAttribute, setParent, setState, setValue, toString, widgetNameChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Submit

public Submit(ActionDefinition definition,
              boolean validateForm)
Method Detail

handleActivate

protected void handleActivate()
Description copied from class: Action
Handle the fact that this action was activated. The default here is to end the current form processing and redisplay the form, which means that actual behaviour should be implemented in event listeners.

Overrides:
handleActivate in class Action


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.