From: Roland Häder Date: Sat, 22 Dec 2018 01:10:22 +0000 (+0100) Subject: Product-only: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=92e33b12772ca21727930bab16fc32b4a213d231;p=jfinancials-war.git Product-only: - added 2nd parameter for beanHelper.renderBasicData() - re-formatted JSF tag to have distinct lines for each attribute Signed-off-by: Roland Häder --- diff --git a/web/WEB-INF/resources/tags/forms/generic_product/admin_form_generic_product_data.tpl b/web/WEB-INF/resources/tags/forms/generic_product/admin_form_generic_product_data.tpl index 2b706ae5..f0110fad 100644 --- a/web/WEB-INF/resources/tags/forms/generic_product/admin_form_generic_product_data.tpl +++ b/web/WEB-INF/resources/tags/forms/generic_product/admin_form_generic_product_data.tpl @@ -119,7 +119,7 @@ value="#{basicDataListController.allBasicData}" var="basicData" itemValue="#{basicData}" - itemLabel="#{beanHelper.renderBasicData(basicData)}" + itemLabel="#{beanHelper.renderBasicData(basicData, true)}" /> diff --git a/web/admin/generic_product/admin_generic_product_list.xhtml b/web/admin/generic_product/admin_generic_product_list.xhtml index f7f344a0..45ff9ea4 100644 --- a/web/admin/generic_product/admin_generic_product_list.xhtml +++ b/web/admin/generic_product/admin_generic_product_list.xhtml @@ -157,12 +157,17 @@ value="#{basicDataListController.allBasicData}" var="basicData" itemValue="#{basicData}" - itemLabel="#{basicData.companyName}" + itemLabel="#{beanHelper.renderBasicData(basicData, true)}" /> - +