Package fr.paris.lutece.plugins.form.web
Class FormApp
- java.lang.Object
-
- fr.paris.lutece.plugins.form.web.FormApp
-
- All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication,java.io.Serializable
public class FormApp extends java.lang.Object implements fr.paris.lutece.portal.web.xpages.XPageApplicationThis class manages Form page.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormApp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoInsertResponseInFormSubmit(javax.servlet.http.HttpServletRequest request, FormSubmit formSubmit, fr.paris.lutece.portal.service.plugin.Plugin plugin)insert response in the form submitvoiddoPerformFormSubmit(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 databasefr.paris.lutece.portal.web.xpages.XPagegetPage(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.
-
-
-
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.SiteMessageExceptionReturns the Form XPage result content depending on the request parameters and the current mode.- Specified by:
getPagein interfacefr.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.SiteMessageExceptioninsert response in the form submit- Parameters:
request- request The HTTP requestformSubmit- Form Submitplugin- 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.SiteMessageExceptionperform the form submit in database- Parameters:
request- The HTTP requestsession- the http sessionformSubmit- Form Submitplugin- the Plugin- Throws:
fr.paris.lutece.portal.service.message.SiteMessageException- SiteMessageException
-
-