Class FormFilterDisplayFormResponseDate
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.web.form.filter.display.impl.AbstractFormFilterDisplay
-
- fr.paris.lutece.plugins.forms.web.form.filter.display.impl.FormFilterDisplayFormResponseDate
-
- All Implemented Interfaces:
IFormFilterDisplay,IFilterable,IFormListPosition
public class FormFilterDisplayFormResponseDate extends AbstractFormFilterDisplay
Implementation of the IFormFilterDisplay interface for the filter which manage the period of creation of form response
-
-
Constructor Summary
Constructors Constructor Description FormFilterDisplayFormResponseDate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildTemplate(javax.servlet.http.HttpServletRequest request, Locale locale)Build the Template of the FormFilterDisplayStringgetBaseTemplate()Return the base template of the FormFilterDisplay, before being filledMap<String,Object>getFilterDisplayMapValues(javax.servlet.http.HttpServletRequest request)StringgetParameterName()Return the name of the parameter associated to the FormFilterDisplay.-
Methods inherited from class fr.paris.lutece.plugins.forms.web.form.filter.display.impl.AbstractFormFilterDisplay
createFormParameters, getFormFilter, getPosition, getTemplate, getValue, setFormFilter, setPosition
-
-
-
-
Method Detail
-
getParameterName
public String getParameterName()
Return the name of the parameter associated to the FormFilterDisplay. This name correspond to the name on which the filter used to retrieve the value which has been selected on the screen by the user. If the name returned by this method doesn't match the name used to retrieve the value selected by the user this value will be lost during the redirection between the page of the details of the form response and the page which list all the form responses.- Returns:
- the name of the parameter associated to the FormFilterDisplay
-
getFilterDisplayMapValues
public Map<String,Object> getFilterDisplayMapValues(javax.servlet.http.HttpServletRequest request)
-
buildTemplate
public void buildTemplate(javax.servlet.http.HttpServletRequest request, Locale locale)Build the Template of the FormFilterDisplay- Parameters:
request- The HttpServletRequest to use to build the template of the filterlocale- The locale to use for i18n labels in the template
-
getBaseTemplate
public String getBaseTemplate()
Return the base template of the FormFilterDisplay, before being filled- Specified by:
getBaseTemplatein interfaceIFormFilterDisplay- Overrides:
getBaseTemplatein classAbstractFormFilterDisplay- Returns:
- the base template of the FormFilterDisplay
-
-