org.apache.cocoon.woody.formmodel
Class RepeaterActionDefinitionBuilder
java.lang.Object
org.apache.cocoon.woody.formmodel.AbstractWidgetDefinitionBuilder
org.apache.cocoon.woody.formmodel.RepeaterActionDefinitionBuilder
- All Implemented Interfaces:
- Disposable, Serviceable, WidgetDefinitionBuilder
public class RepeaterActionDefinitionBuilder
- extends AbstractWidgetDefinitionBuilder
Builds a <wd:repeater-action/>
Two actions are defined :
<wd:repeater-action id="add" action-command="add-row" repeater="repeater-id"/>
:
when activated, adds a row to the sibling repeater named "repeater-id".
<wd:repeater-action id="rm" action-command="delete-rows" repeater="repeater-id"
select="select-id"/>
: removes the selected rows from the sibling repeater named "repeater-id".
The selected rows are identified by the boolean field "select-id" present in each row.
- Version:
- CVS $Id: RepeaterActionDefinitionBuilder.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 |
RepeaterActionDefinitionBuilder
public RepeaterActionDefinitionBuilder()
buildWidgetDefinition
public WidgetDefinition buildWidgetDefinition(Element widgetElement)
throws Exception
- Throws:
Exception
createDefinition
protected RepeaterActionDefinition createDefinition(Element element,
String actionCommand)
throws Exception
- Throws:
Exception
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.