Class FormFilterDisplayForms
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.web.form.filter.display.impl.AbstractFormFilterDisplay
-
- fr.paris.lutece.plugins.forms.web.form.filter.display.impl.FormFilterDisplayForms
-
- All Implemented Interfaces:
IFormFilterDisplay,IFilterable,IFormListPosition
public class FormFilterDisplayForms extends AbstractFormFilterDisplay
Implementation of the IFormFilterDisplay interface for the filter on form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEFAULT_ID_FORM
-
Constructor Summary
Constructors Constructor Description FormFilterDisplayForms()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbuildTemplate(javax.servlet.http.HttpServletRequest request, java.util.Locale locale)Build the Template of the FormFilterDisplayjava.lang.StringgetBaseTemplate()Return the base template of the FormFilterDisplay, before being filledjava.util.Map<java.lang.String,java.lang.Object>getFilterDisplayMapValues(javax.servlet.http.HttpServletRequest request)java.lang.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
-
-
-
-
Field Detail
-
DEFAULT_ID_FORM
public static final java.lang.String DEFAULT_ID_FORM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getBaseTemplate
public java.lang.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
-
getParameterName
public java.lang.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 java.util.Map<java.lang.String,java.lang.Object> getFilterDisplayMapValues(javax.servlet.http.HttpServletRequest request)
-
buildTemplate
public void buildTemplate(javax.servlet.http.HttpServletRequest request, java.util.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
-
-