]> git.mxchange.org Git - jfinancials-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 29 Jul 2017 19:55:18 +0000 (21:55 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 29 Jul 2017 19:55:18 +0000 (21:55 +0200)
- allBusinessContacts() is now no longer in admin bean (request-scoped) but in
  generic business "contacts" bean (session-scoped)
- &nbsp; has caused error message, let's use a space here directly

Signed-off-by: Roland Häder <roland@mxchange.org>
web/admin/contact_business/admin_contact_business_list.xhtml

index 0aea3c40c9a9adeac7ebf9e9a051c82b1fab9938..bf0024b87ce3046f650a27fe102db963f0ff0812 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <ui:fragment rendered="#{adminBusinessDataController.allBusinessContacts().isEmpty()}">
+               <ui:fragment rendered="#{businessDataController.allBusinessContacts().isEmpty()}">
                        <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
                                <ui:param name="message" value="#{msg.ADMIN_CONTACT_BUSINESS_LIST_EMPTY}" />
                                <ui:param name="styleClass" value="errors" />
                        </ui:include>
                </ui:fragment>
 
-               <h:dataTable id="table_list_business_contacts" var="businessContact" value="#{adminBusinessDataController.allBusinessContacts()}" styleClass="table_full" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_CONTACT_BUSINESS}" rendered="#{not adminBusinessDataController.allBusinessContacts().isEmpty()}">
+               <h:dataTable id="table_list_business_contacts" var="businessContact" value="#{businessDataController.allBusinessContacts()}" styleClass="table_full" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_CONTACT_BUSINESS}" rendered="#{not businessDataController.allBusinessContacts().isEmpty()}">
                        <h:column>
                                <f:facet name="header">
                                        <h:outputText value="#{msg.ADMIN_CONTACT_BUSINESS_ID}" />
@@ -47,7 +47,7 @@
                                        <h:outputText value="#{msg.ADMIN_CONTACT_BUSINESS_COMPANY_NAME}" />
                                </f:facet>
 
-                               <h:outputText value="#{businessContact.companyName}&nbsp;#{businessContact.companyLegalStatus}" />
+                               <h:outputText value="#{businessContact.companyName} #{businessContact.companyLegalStatus}" />
                        </h:column>
 
                        <h:column>