]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Product-only:
authorRoland Häder <roland@mxchange.org>
Sat, 22 Dec 2018 01:10:22 +0000 (02:10 +0100)
committerRoland Häder <roland@mxchange.org>
Sat, 22 Dec 2018 01:10:22 +0000 (02:10 +0100)
- added 2nd parameter for beanHelper.renderBasicData()
- re-formatted JSF tag to have distinct lines for each attribute

Signed-off-by: Roland Häder <roland@mxchange.org>
web/WEB-INF/resources/tags/forms/generic_product/admin_form_generic_product_data.tpl
web/admin/generic_product/admin_generic_product_list.xhtml

index 2b706ae52fdee4ce015773a5cd6199c9e98a1229..f0110fad37b5083fed561df834a7e0eaf44d2a6e 100644 (file)
                                        value="#{basicDataListController.allBasicData}"
                                        var="basicData"
                                        itemValue="#{basicData}"
-                                       itemLabel="#{beanHelper.renderBasicData(basicData)}"
+                                       itemLabel="#{beanHelper.renderBasicData(basicData, true)}"
                                        />
                        </p:selectOneMenu>
 
index f7f344a0ea5c8dbd68400b955ac6a96c85e7ec43..45ff9ea4d486519768c094211725ed9e9861cbee 100644 (file)
                                                                value="#{basicDataListController.allBasicData}"
                                                                var="basicData"
                                                                itemValue="#{basicData}"
-                                                               itemLabel="#{basicData.companyName}"
+                                                               itemLabel="#{beanHelper.renderBasicData(basicData, true)}"
                                                                />
                                                </p:selectCheckboxMenu>
                                        </f:facet>
 
-                                       <p:link outcome="admin_show_basic_data" value="#{beanHelper.renderBasicData(product.productManufacturer)}" title="#{msg.ADMIN_LINK_SHOW_BASIC_DATA_TITLE}" rendered="#{not empty product.productManufacturer}">
+                                       <p:link
+                                               outcome="admin_show_basic_data"
+                                               value="#{beanHelper.renderBasicData(product.productManufacturer, true)}"
+                                               title="#{msg.ADMIN_LINK_SHOW_BASIC_DATA_TITLE}"
+                                               rendered="#{not empty product.productManufacturer}"
+                                               >
                                                <f:param name="basicDataId" value="#{product.productManufacturer.basicDataId}" />
                                        </p:link>