]> git.mxchange.org Git - addressbook-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Tue, 12 Sep 2017 19:20:48 +0000 (21:20 +0200)
committerRoland Häder <roland@mxchange.org>
Tue, 12 Sep 2017 22:47:25 +0000 (00:47 +0200)
- renamed companyData* -> basicData*

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/addressbook/beans/business/basicdata/AddressbookBusinessDataWebRequestBean.java
web/WEB-INF/templates/admin/branch_offices/admin_form_branch_offices_data.tpl
web/admin/basic_company_data/admin_basic_company_data_list.xhtml

index ab9566ff94852d55db0092476469e25b99e2d636..ddf4d2a8e9d8d704c29da976255a6125a239782a 100644 (file)
@@ -41,7 +41,7 @@ import org.mxchange.jcountry.model.data.Country;
  * <p>
  * @author Roland Häder<roland@mxchange.org>
  */
-@Named ("companyDataController")
+@Named ("basicDataController")
 @RequestScoped
 public class AddressbookBusinessDataWebRequestBean extends BaseAddressbookController implements AddressbookBusinessDataWebRequestController {
 
index 06d132578595998836b6bd622b352e26daac324f..8eaab2926a7cbde54e3dba65b602eb752ef33e43 100644 (file)
@@ -21,7 +21,7 @@
                                        <h:selectOneMenu styleClass="select" id="branchCompany" value="#{adminBranchOfficeController.branchCompany}" required="true" requiredMessage="#{msg.ADMIN_BRANCH_OFFICE_COMPANY_REQUIRED}">
                                                <f:converter converterId="BasicCompanyDataConverter" />
                                                <f:selectItem itemValue="#{null}" itemLabel="#{msg.NONE_SELECTED}" noSelectionOption="true" itemDisabled="true" />
-                                               <f:selectItems value="#{companyDataController.allCompanyBasicData()}" var="companyData" itemValue="#{companyData}" itemLabel="#{companyData.companyName}" />
+                                               <f:selectItems value="#{basicDataController.allCompanyBasicData()}" var="basicData" itemValue="#{basicData}" itemLabel="#{basicData.companyName}" />
                                        </h:selectOneMenu>
                                </div>
                        </h:panelGroup>
index 4daa7b2a8b5bf900552b6a757f516c700be5e4e7..31e384e0e02aa177215f5c6dda0d5ff6c8eb19f3 100644 (file)
        </ui:define>
 
        <ui:define name="content">
-               <widgets:outputMessageBox message="#{msg.ADMIN_BASIC_COMPANY_DATA_LIST_EMPTY}" messageStyleClass="alert-danger" rendered="#{companyDataController.allCompanyBasicData().isEmpty()}" />
+               <widgets:outputMessageBox message="#{msg.ADMIN_BASIC_COMPANY_DATA_LIST_EMPTY}" messageStyleClass="alert-danger" rendered="#{basicDataController.allCompanyBasicData().isEmpty()}" />
 
-               <h:dataTable id="table_list_basic_company_data" var="companyData" value="#{companyDataController.allCompanyBasicData()}" styleClass="table-full" headerClass="table-header-column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_BASIC_COMPANY_DATA}" rendered="#{not companyDataController.allCompanyBasicData().isEmpty()}">
+               <h:dataTable id="table_list_basic_company_data" var="basicData" value="#{basicDataController.allCompanyBasicData()}" styleClass="table-full" headerClass="table-header-column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_BASIC_COMPANY_DATA}" rendered="#{not basicDataController.allCompanyBasicData().isEmpty()}">
                        <h:column>
                                <f:facet name="header">
                                        <h:outputText value="#{msg.ADMIN_BASIC_COMPANY_DATA_ID}" />
                                </f:facet>
 
-                               <h:link outcome="admin_show_basic_data" title="#{msg.ADMIN_LINK_SHOW_BASIC_COMAPNY_DATA_TITLE}" value="#{companyData.basicDataId}">
-                                       <f:param name="basicDataId" value="#{companyData.basicDataId}" />
+                               <h:link outcome="admin_show_basic_data" title="#{msg.ADMIN_LINK_SHOW_BASIC_COMAPNY_DATA_TITLE}" value="#{basicData.basicDataId}">
+                                       <f:param name="basicDataId" value="#{basicData.basicDataId}" />
                                </h:link>
                        </h:column>
 
                                        <h:outputText value="#{msg.ADMIN_ASSIGNED_USER_ID}" />
                                </f:facet>
 
-                               <h:link outcome="admin_show_user" title="#{msg.ADMIN_LINK_SHOW_BASIC_COMPANY_DATA_OWNER_USER_TITLE}" value="#{companyData.companyUserOwner.userId}" rendered="#{not empty companyData.companyUserOwner}">
-                                       <f:param name="userId" value="#{companyData.companyUserOwner.userId}" />
+                               <h:link outcome="admin_show_user" title="#{msg.ADMIN_LINK_SHOW_BASIC_COMPANY_DATA_OWNER_USER_TITLE}" value="#{basicData.companyUserOwner.userId}" rendered="#{not empty basicData.companyUserOwner}">
+                                       <f:param name="userId" value="#{basicData.companyUserOwner.userId}" />
                                </h:link>
 
-                               <h:link outcome="admin_assign_basic_company_data_owner" title="#{msg.ADMIN_LINK_ASSIGN_BASIC_COMPANY_DATA_OWNER_USER_TITLE}" value="#{msg.ADMIN_LINK_ASSIGN}" rendered="#{empty companyData.companyUserOwner}">
-                                       <f:param name="basicDataId" value="#{companyData.basicDataId}" />
+                               <h:link outcome="admin_assign_basic_company_data_owner" title="#{msg.ADMIN_LINK_ASSIGN_BASIC_COMPANY_DATA_OWNER_USER_TITLE}" value="#{msg.ADMIN_LINK_ASSIGN}" rendered="#{empty basicData.companyUserOwner}">
+                                       <f:param name="basicDataId" value="#{basicData.basicDataId}" />
                                </h:link>
                        </h:column>
 
                                        <h:outputText value="#{msg.ADMIN_BASIC_COMPANY_DATA_COMPANY_NAME}" />
                                </f:facet>
 
-                               <h:outputLink value="#{companyData.companyWebsiteUrl}" target="_blank" title="#{msg.LINK_COMPANY_WEBSITE_URL_TITLE}" rel="external" rendered="#{not empty companyData.companyWebsiteUrl}">
-                                       <h:outputText value="#{companyData.companyName}" />
+                               <h:outputLink value="#{basicData.companyWebsiteUrl}" target="_blank" title="#{msg.LINK_COMPANY_WEBSITE_URL_TITLE}" rel="external" rendered="#{not empty basicData.companyWebsiteUrl}">
+                                       <h:outputText value="#{basicData.companyName}" />
                                </h:outputLink>
 
-                               <h:outputText value="#{companyData.companyName}" title="#{msg.NO_WEBSITE_URL_ENTERED}" rendered="#{empty companyData.companyWebsiteUrl}" />
+                               <h:outputText value="#{basicData.companyName}" title="#{msg.NO_WEBSITE_URL_ENTERED}" rendered="#{empty basicData.companyWebsiteUrl}" />
                        </h:column>
 
                        <h:column>
                                        <h:outputText value="#{msg.ADMIN_CONTACT_PERSON}" />
                                </f:facet>
 
-                               <h:link outcome="admin_show_business_employee" title="#{msg.ADMIN_LINK_SHOW_BASIC_COMPANY_DATA_CONTACT_PERSON_TITLE}" value="#{companyData.companyContactEmployee.employeeId}" rendered="#{not empty companyData.companyContactEmployee}">
-                                       <f:param name="employeeId" value="#{companyData.companyContactEmployee.employeeId}" />
+                               <h:link outcome="admin_show_business_employee" title="#{msg.ADMIN_LINK_SHOW_BASIC_COMPANY_DATA_CONTACT_PERSON_TITLE}" value="#{basicData.companyContactEmployee.employeeId}" rendered="#{not empty basicData.companyContactEmployee}">
+                                       <f:param name="employeeId" value="#{basicData.companyContactEmployee.employeeId}" />
                                </h:link>
 
-                               <h:link outcome="admin_assign_basic_company_data_employee" title="#{msg.ADMIN_LINK_ASSIGN_BASIC_COMPANY_DATA_CONTACT_PERSON_TITLE}" value="#{msg.ADMIN_LINK_ASSIGN_BASIC_COMPANY_DATA_CONTACT_PERSON}" rendered="#{empty companyData.companyContactEmployee}">
-                                       <f:param name="basicDataId" value="#{companyData.basicDataId}" />
+                               <h:link outcome="admin_assign_basic_company_data_employee" title="#{msg.ADMIN_LINK_ASSIGN_BASIC_COMPANY_DATA_CONTACT_PERSON_TITLE}" value="#{msg.ADMIN_LINK_ASSIGN_BASIC_COMPANY_DATA_CONTACT_PERSON}" rendered="#{empty basicData.companyContactEmployee}">
+                                       <f:param name="basicDataId" value="#{basicData.basicDataId}" />
                                </h:link>
                        </h:column>
 
                                        <h:outputText value="#{msg.ADMIN_BASIC_COMPANY_DATA_COMPANY_FOUNDER}" />
                                </f:facet>
 
-                               <h:link outcome="admin_show_business_employee" title="#{msg.ADMIN_LINK_SHOW_BASIC_COMPANY_DATA_COMPANY_FOUNDER_TITLE}" value="#{companyData.companyFounder.employeeId}" rendered="#{not empty companyData.companyFounder}">
-                                       <f:param name="employeeId" value="#{companyData.companyFounder.employeeId}" />
+                               <h:link outcome="admin_show_business_employee" title="#{msg.ADMIN_LINK_SHOW_BASIC_COMPANY_DATA_COMPANY_FOUNDER_TITLE}" value="#{basicData.companyFounder.employeeId}" rendered="#{not empty basicData.companyFounder}">
+                                       <f:param name="employeeId" value="#{basicData.companyFounder.employeeId}" />
                                </h:link>
 
-                               <h:link outcome="admin_assign_basic_company_data_contact" title="#{msg.ADMIN_LINK_ASSIGN_BASIC_COMPANY_DATA_COMPANY_FOUNDER_TITLE}" value="#{msg.ADMIN_LINK_ASSIGN}" rendered="#{empty companyData.companyFounder}">
-                                       <f:param name="basicDataId" value="#{companyData.basicDataId}" />
+                               <h:link outcome="admin_assign_basic_company_data_contact" title="#{msg.ADMIN_LINK_ASSIGN_BASIC_COMPANY_DATA_COMPANY_FOUNDER_TITLE}" value="#{msg.ADMIN_LINK_ASSIGN}" rendered="#{empty basicData.companyFounder}">
+                                       <f:param name="basicDataId" value="#{basicData.basicDataId}" />
                                </h:link>
                        </h:column>
 
@@ -87,7 +87,7 @@
                                        <h:outputText value="#{msg.ADMIN_BASIC_COMPANY_DATA_CREATED}" />
                                </f:facet>
 
-                               <h:outputText id="companyCreated" value="#{companyData.companyCreated.time}">
+                               <h:outputText id="companyCreated" value="#{basicData.companyCreated.time}">
                                        <f:convertDateTime for="companyCreated" type="both" timeStyle="short" dateStyle="short" />
                                </h:outputText>
                        </h:column>