org.apache.cocoon.woody.formmodel
Class Submit

java.lang.Object
  extended by org.apache.cocoon.woody.formmodel.AbstractWidget
      extended by org.apache.cocoon.woody.formmodel.Action
          extended by org.apache.cocoon.woody.formmodel.Submit
All Implemented Interfaces:
Widget

public class Submit
extends Action

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

Version:
CVS $Id: Submit.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Sylvain Wallez
See Also:
SubmitDefinitionBuilder

Field Summary
 
Fields inherited from class org.apache.cocoon.woody.formmodel.Action
definition
 
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.woody.formmodel.Action
broadcastEvent, generateLabel, generateSaxFragment, getId, readFromRequest, validate
 
Methods inherited from class org.apache.cocoon.woody.formmodel.AbstractWidget
addValidator, generateItemSaxFragment, generateSaxFragment, getForm, getFullyQualifiedId, getLocation, getNamespace, getParent, getValue, getWidget, isRequired, removeValidator, setDefinition, setLocation, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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-2010 The Apache Software Foundation. All Rights Reserved.