org.apache.cocoon.woody.formmodel
Class SubmitDefinitionBuilder
java.lang.Object
org.apache.cocoon.woody.formmodel.AbstractWidgetDefinitionBuilder
org.apache.cocoon.woody.formmodel.ActionDefinitionBuilder
org.apache.cocoon.woody.formmodel.SubmitDefinitionBuilder
- All Implemented Interfaces:
- Disposable, Serviceable, WidgetDefinitionBuilder
public class SubmitDefinitionBuilder
- extends ActionDefinitionBuilder
Builds a <wd:submit>
widget. A submit is an action that terminates
the current form. It can either require the form to be valid (in which case it will
be redisplayed if not valid) or terminate it without validation (e.g. a "cancel" button).
The syntax is as follows :
<wd:submit id="sub-id" action-command="cmd" validate="false">
The "validate" attribute can have the value true
or false
and determines if the form is to be validated (defaults to true).
- Version:
- CVS $Id: SubmitDefinitionBuilder.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Sylvain Wallez
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubmitDefinitionBuilder
public SubmitDefinitionBuilder()
buildWidgetDefinition
public WidgetDefinition buildWidgetDefinition(Element widgetElement)
throws Exception
- Specified by:
buildWidgetDefinition
in interface WidgetDefinitionBuilder
- Overrides:
buildWidgetDefinition
in class ActionDefinitionBuilder
- Throws:
Exception
createDefinition
protected ActionDefinition createDefinition()
- Overrides:
createDefinition
in class ActionDefinitionBuilder
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.