Class FormApp

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

public class FormApp extends Object implements fr.paris.lutece.portal.web.xpages.XPageApplication
This class manages Form page.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doInsertResponseInFormSubmit(javax.servlet.http.HttpServletRequest request, FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    insert response in the form submit
    void
    doPerformFormSubmit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession session, FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    perform the form submit in database
    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

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FormApp

      public FormApp()
  • Method Details

    • 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
    • doInsertResponseInFormSubmit

      public void doInsertResponseInFormSubmit(javax.servlet.http.HttpServletRequest request, FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin) throws fr.paris.lutece.portal.service.message.SiteMessageException
      insert response in the form submit
      Parameters:
      request - request The HTTP request
      formSubmit - Form Submit
      plugin - the Plugin
      Throws:
      fr.paris.lutece.portal.service.message.SiteMessageException - SiteMessageException
    • doPerformFormSubmit

      public void doPerformFormSubmit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession session, FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin) throws fr.paris.lutece.portal.service.message.SiteMessageException
      perform the form submit in database
      Parameters:
      request - The HTTP request
      session - the http session
      formSubmit - Form Submit
      plugin - the Plugin
      Throws:
      fr.paris.lutece.portal.service.message.SiteMessageException - SiteMessageException