fr.paris.lutece.plugins.greetingscard.web
Class GreetingsCardApp

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

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

This class implements the HelpDesk XPage.


Constructor Summary
GreetingsCardApp()
          Creates a new QuizPage object.
 
Method Summary
static fr.paris.lutece.util.html.HtmlTemplate getLocaleTemplate(java.lang.String strTemplate, java.util.Locale locale, java.lang.Object model, int nMode)
          Returns a reference on a template object (load the template or get it from the cache if present.)
 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 Greetingscard XPage 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

GreetingsCardApp

public GreetingsCardApp()
Creates a new QuizPage object.

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 Greetingscard XPage 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 - occurs when a site message need to be displayed

getLocaleTemplate

public static fr.paris.lutece.util.html.HtmlTemplate getLocaleTemplate(java.lang.String strTemplate,
                                                                       java.util.Locale locale,
                                                                       java.lang.Object model,
                                                                       int nMode)
Returns a reference on a template object (load the template or get it from the cache if present.)

Parameters:
strTemplate - The name of the template
locale - The current locale to localize the template
model - the model to use for loading
nMode - the mode HTML or Flash
Returns:
The template object.
Since:
1.5


Copyright © 2009 Mairie de Paris. All Rights Reserved.