org.apache.cocoon.forms.formmodel
Class Submit
java.lang.Object
org.apache.cocoon.forms.formmodel.AbstractWidget
org.apache.cocoon.forms.formmodel.Action
org.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
Method Summary |
protected void |
handleActivate()
Handle the fact that this action was activated. |
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 |
Submit
public Submit(ActionDefinition definition,
boolean validateForm)
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.