org.apache.cocoon.forms.event.impl
Class RequiredControl
java.lang.Object
org.apache.cocoon.forms.event.impl.RequiredControl
- All Implemented Interfaces:
- ConfigurableWidgetListener, EventListener, ProcessingPhaseListener, WidgetListener
- public class RequiredControl
- extends Object
- implements ProcessingPhaseListener, ConfigurableWidgetListener
This processing phase listener can be used to dynamically change the
required fields in a form.
A field can be required depending on the value of another field or
depending on the pressed submit button.
- Version:
- $Id: RequiredControl.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
descriptions
protected final List descriptions
RequiredControl
public RequiredControl()
setConfiguration
public void setConfiguration(Element element)
throws Exception
- This method will be called with the
Element
node of its configuration
- Specified by:
setConfiguration
in interface ConfigurableWidgetListener
- Throws:
Exception
phaseEnded
public void phaseEnded(ProcessingPhaseEvent event)
- Specified by:
phaseEnded
in interface ProcessingPhaseListener
- See Also:
ProcessingPhaseListener.phaseEnded(org.apache.cocoon.forms.event.ProcessingPhaseEvent)
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.