Class FormListTemplateBuilder
java.lang.Object
fr.paris.lutece.plugins.forms.web.form.multiview.util.FormListTemplateBuilder
Builder class for the template of FormColumnDisplay and FormFilterDisplay objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringbuildTableTemplate(List<IFormColumnDisplay> listFormColumnDisplay, List<FormResponseItem> listFormResponseItem, Locale locale, String strRedirectionDetailsBaseUrl, String strSortUrl, List<Integer> listIdFormResponsePaginated) Build the template of the table of all form response
-
Method Details
-
buildTableTemplate
public static String buildTableTemplate(List<IFormColumnDisplay> listFormColumnDisplay, List<FormResponseItem> listFormResponseItem, Locale locale, String strRedirectionDetailsBaseUrl, String strSortUrl, List<Integer> listIdFormResponsePaginated) Build the template of the table of all form response- Parameters:
listFormColumnDisplay- The list of all FormColumnDisplay objects to build the global template of the form columns fromlistFormResponseItem- The list of all FormResponseItem used to build the tab with all form responseslocale- The locale to used for build templatestrRedirectionDetailsBaseUrl- The base url to use for the redirection on the details pagestrSortUrl- The url to use for sort a column- Returns:
- the global template of all FormColumnDisplay objects
-