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
Implementation of the IFormFilterDisplay interface for the filter on form
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildTemplate(jakarta.servlet.http.HttpServletRequest request, Locale locale) Build the Template of the FormFilterDisplayReturn the base template of the FormFilterDisplay, before being filledgetFilterDisplayMapValues(jakarta.servlet.http.HttpServletRequest request) 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 Details
-
DEFAULT_ID_FORM
- See Also:
-
-
Constructor Details
-
FormFilterDisplayForms
public FormFilterDisplayForms()
-
-
Method Details
-
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
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
-
buildTemplate
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
-