Author: mbrohl
Date: Fri Sep 16 20:42:50 2016 New Revision: 1761080 URL: http://svn.apache.org/viewvc?rev=1761080&view=rev Log: Improved: Humanres: Consistent form name. (OFBIZ-8067) Change all form names to upper camel case for consistency. Thanks: Tanmay Muley for reporting and providing the patch. Modified: ofbiz/trunk/applications/humanres/widget/EmployeeScreens.xml ofbiz/trunk/applications/humanres/widget/PersonTrainingScreens.xml ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml Modified: ofbiz/trunk/applications/humanres/widget/EmployeeScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/EmployeeScreens.xml?rev=1761080&r1=1761079&r2=1761080&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/EmployeeScreens.xml (original) +++ ofbiz/trunk/applications/humanres/widget/EmployeeScreens.xml Fri Sep 16 20:42:50 2016 @@ -303,7 +303,7 @@ under the License. <section> <widgets> <screenlet title="${uiLabelMap.HumanResTrainings}"> - <include-form name="simpleListTrainingStatus" location="component://humanres/widget/forms/PersonTrainingForms.xml"/> + <include-form name="SimpleListTrainingStatus" location="component://humanres/widget/forms/PersonTrainingForms.xml"/> </screenlet> </widgets> </section> Modified: ofbiz/trunk/applications/humanres/widget/PersonTrainingScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/PersonTrainingScreens.xml?rev=1761080&r1=1761079&r2=1761080&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/PersonTrainingScreens.xml (original) +++ ofbiz/trunk/applications/humanres/widget/PersonTrainingScreens.xml Fri Sep 16 20:42:50 2016 @@ -155,7 +155,7 @@ <widgets><!-- edit section --> <container style="lefthalf"> <label style="h1" text="${uiLabelMap.WorkEffortAddCalendarEvent}"/> - <include-form name="editTrainingCalendar" location="component://humanres/widget/forms/PersonTrainingForms.xml"/> + <include-form name="EditTrainingCalendar" location="component://humanres/widget/forms/PersonTrainingForms.xml"/> </container> <container style="righthalf"> <label style="h1" text="${uiLabelMap.WorkEffortParticipants}"/> @@ -179,7 +179,7 @@ <fail-widgets><!-- view section --> <container style="lefthalf"> <label style="h1" text="${uiLabelMap.WorkEffortSummary}"/> - <include-form name="showTrainingCalendar" location="component://humanres/widget/forms/PersonTrainingForms.xml"/> + <include-form name="ShowTrainingCalendar" location="component://humanres/widget/forms/PersonTrainingForms.xml"/> </container> </fail-widgets> </section> Modified: ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml?rev=1761080&r1=1761079&r2=1761080&view=diff ============================================================================== --- ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml (original) +++ ofbiz/trunk/applications/humanres/widget/forms/PersonTrainingForms.xml Fri Sep 16 20:42:50 2016 @@ -20,7 +20,7 @@ under the License. <forms xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ofbiz.apache.org/Widget-Form" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Form http://ofbiz.apache.org/dtds/widget-form.xsd"> - <form name="showTrainingCalendar" type="single" target="applyTraining"> + <form name="ShowTrainingCalendar" type="single" target="applyTraining"> <field name="partyId"><hidden value="${loginPartyId}"/></field> <field name="approverId" required-field="true"><lookup target-form-name="LookupPartyName"/></field> <field name="trainingClassTypeId" title="${uiLabelMap.HumanResTraining} ${uiLabelMap.CommonName}"><display/></field> @@ -31,7 +31,7 @@ under the License. <field name="thruDate" title="${uiLabelMap.CommonThruDate}"><display type="date-time"/></field> <field name="submitButton" title="${uiLabelMap.CommonApply}"><submit button-type="button"/></field> </form> - <form name="editTrainingCalendar" type="single" target="createTrainingCalendar" default-map-name="workEffort"> + <form name="EditTrainingCalendar" type="single" target="createTrainingCalendar" default-map-name="workEffort"> <alt-target use-when="workEffort!=null" target="updateTrainingCalendar"/> <field name="workEffortId" use-when="workEffort!=null"><hidden/></field> <field name="partyId"><hidden value="${parameters.userLogin.partyId}"/></field> @@ -199,7 +199,7 @@ under the License. <field name="trainingClassTypeId"><display-entity entity-name="TrainingClassType"/></field> </form> - <form name="simpleListTrainingStatus" list-name="listIt" title="" type="list" odd-row-style="alternate-row" default-table-style="basic-table"> + <form name="SimpleListTrainingStatus" list-name="listIt" title="" type="list" odd-row-style="alternate-row" default-table-style="basic-table"> <actions> <service service-name="performFind" result-map="result" result-map-list="listIt"> <field-map field-name="inputFields" from-field="parameters"/> |
Free forum by Nabble | Edit this page |