fr.paris.lutece.plugins.form.web
Class FormApp

java.lang.Object
  extended by fr.paris.lutece.plugins.form.web.FormApp
All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication

public class FormApp
extends java.lang.Object
implements fr.paris.lutece.portal.web.xpages.XPageApplication

This class manages Form page.


Constructor Summary
FormApp()
           
 
Method Summary
 void doInsertResponse(javax.servlet.http.HttpServletRequest request, FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Perform the form submit
 fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request, int nMode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Returns the Form XPage result content depending on the request parameters and the current mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormApp

public FormApp()
Method Detail

getPage

public fr.paris.lutece.portal.web.xpages.XPage getPage(javax.servlet.http.HttpServletRequest request,
                                                       int nMode,
                                                       fr.paris.lutece.portal.service.plugin.Plugin plugin)
                                                throws fr.paris.lutece.portal.service.message.SiteMessageException
Returns the Form XPage result content depending on the request parameters and the current mode.

Specified by:
getPage in interface fr.paris.lutece.portal.web.xpages.XPageApplication
Parameters:
request - The HTTP request.
nMode - The current mode.
plugin - The Plugin
Returns:
The page content.
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException - the SiteMessageException

doInsertResponse

public void doInsertResponse(javax.servlet.http.HttpServletRequest request,
                             FormSubmit formSubmit,
                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
                      throws fr.paris.lutece.portal.service.message.SiteMessageException
Perform the form submit

Parameters:
request - request The HTTP request
formSubmit - Form Submit
plugin - the Plugin
Throws:
fr.paris.lutece.portal.service.message.SiteMessageException


Copyright © 2007 Mairie de Paris. All Rights Reserved.