org.apache.cocoon.forms.event.impl
Class RequiredControl
java.lang.Object
org.apache.cocoon.forms.event.impl.RequiredControl
- All Implemented Interfaces:
- EventListener, Configurable, ProcessingPhaseListener, WidgetListener
public class RequiredControl
- extends Object
- implements ProcessingPhaseListener, Configurable
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 1304258 2012-03-23 10:09:27Z 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()
configure
public void configure(Configuration config)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException
- See Also:
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)
phaseEnded
public void phaseEnded(ProcessingPhaseEvent event)
- Specified by:
phaseEnded
in interface ProcessingPhaseListener
- See Also:
ProcessingPhaseListener.phaseEnded(org.apache.cocoon.forms.event.ProcessingPhaseEvent)
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.