org.apache.cocoon.webapps.session.components
Class DefaultFormManager

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.webapps.session.components.DefaultFormManager
All Implemented Interfaces:
Contextualizable, FormManager, LogEnabled, Serviceable, ThreadSafe

public final class DefaultFormManager
extends AbstractLogEnabled
implements Serviceable, FormManager, ThreadSafe, Contextualizable

Form handling

Version:
CVS $Id: DefaultFormManager.java 55383 2004-10-23 15:10:46Z cziegeler $
Author:
Carsten Ziegeler

Field Summary
 
Fields inherited from interface org.apache.cocoon.webapps.session.FormManager
ROLE
 
Constructor Summary
DefaultFormManager()
           
 
Method Summary
 void contextualize(Context context)
           
 void processInputFields()
          Process the request.
 DocumentFragment registerInputField(String contextName, String path, String name, String formName)
          Register input field and return the current value of the field.
 void service(ServiceManager manager)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFormManager

public DefaultFormManager()
Method Detail

registerInputField

public DocumentFragment registerInputField(String contextName,
                                           String path,
                                           String name,
                                           String formName)
                                    throws ProcessingException
Description copied from interface: FormManager
Register input field and return the current value of the field.

Specified by:
registerInputField in interface FormManager
Throws:
ProcessingException
See Also:
FormManager.registerInputField(String, String, String, String)

processInputFields

public void processInputFields()
Description copied from interface: FormManager
Process the request. The incoming parameters are evaluated, if they contain information for a previously registered input field.

Specified by:
processInputFields in interface FormManager

contextualize

public void contextualize(Context context)
                   throws ContextException
Specified by:
contextualize in interface Contextualizable
Throws:
ContextException

service

public void service(ServiceManager manager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.