Author: mbrohl
Date: Fri Sep 16 22:34:20 2016 New Revision: 1761110 URL: http://svn.apache.org/viewvc?rev=1761110&view=rev Log: Improved: Projectmgr: Consistent form name. (OFBIZ-8107) Change all form names to upper camel case for consistency. Thanks: Tanmay Muley for reporting and providing the patch. Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml?rev=1761110&r1=1761109&r2=1761110&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/ProjectScreens.xml Fri Sep 16 22:34:20 2016 @@ -115,8 +115,8 @@ under the License. <widgets> <decorator-screen name="CommonProjectDecorator" location="${parameters.mainDecoratorLocation}"> <decorator-section name="body" > - <screenlet title="${uiLabelMap.PageTitleHoursNotYetBilled} ${uiLabelMap.CommonInformation}" navigation-form-name="hoursNotYetBilled"> - <include-form name="hoursNotYetBilled" location="component://projectmgr/widget/forms/ProjectForms.xml"/> + <screenlet title="${uiLabelMap.PageTitleHoursNotYetBilled} ${uiLabelMap.CommonInformation}" navigation-form-name="HoursNotYetBilled"> + <include-form name="HoursNotYetBilled" location="component://projectmgr/widget/forms/ProjectForms.xml"/> </screenlet> <screenlet title="${uiLabelMap.PageTitleAddProjectTimeToNewInvoice}"> <include-form name="AddProjectTimeToNewInvoice" location="component://projectmgr/widget/forms/ProjectForms.xml"/> @@ -604,7 +604,7 @@ under the License. <screenlet id="AddResourceProjectPartyPanel" title="${uiLabelMap.PageTitleAddProject}" collapsible="true"> <include-form name="AddResourceProjectParty" location="component://projectmgr/widget/forms/ProjectForms.xml"/> </screenlet> - <include-form name="listResourcesProjects" location="component://projectmgr/widget/forms/ProjectForms.xml"/> + <include-form name="ListResourcesProjects" location="component://projectmgr/widget/forms/ProjectForms.xml"/> </decorator-section> </decorator-screen> </widgets> @@ -637,7 +637,7 @@ under the License. <screenlet id="AddResourceTaskPartyPanel" title="${uiLabelMap.PageTitleAddTask}" collapsible="true"> <include-form name="AddResourceTaskParty" location="component://projectmgr/widget/forms/ProjectForms.xml"/> </screenlet> - <include-form name="listResourcesTasks" location="component://projectmgr/widget/forms/ProjectForms.xml"/> + <include-form name="ListResourcesTasks" location="component://projectmgr/widget/forms/ProjectForms.xml"/> </decorator-section> </decorator-screen> </widgets> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml?rev=1761110&r1=1761109&r2=1761110&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/TaskScreens.xml Fri Sep 16 22:34:20 2016 @@ -100,7 +100,7 @@ under the License. <widgets> <container style="lefthalf"> <screenlet title="${uiLabelMap.ProjectMgrAssignATaskToMe}"> - <include-form name="assignTaskToMe" location="component://projectmgr/widget/forms/TaskForms.xml"/> + <include-form name="AssignTaskToMe" location="component://projectmgr/widget/forms/TaskForms.xml"/> </screenlet> </container> <container style="righthalf"> @@ -257,7 +257,7 @@ under the License. <decorator-section name="body"> <include-form name="ListTimeEntries" location="component://projectmgr/widget/forms/TaskForms.xml"/> <screenlet title="${uiLabelMap.ProjectMgrAddTimeEntry}"> - <include-form name="createTimeEntry" location="component://projectmgr/widget/forms/TaskForms.xml"/> + <include-form name="CreateTimeEntry" location="component://projectmgr/widget/forms/TaskForms.xml"/> </screenlet> </decorator-section> </decorator-screen> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml?rev=1761110&r1=1761109&r2=1761110&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml Fri Sep 16 22:34:20 2016 @@ -120,7 +120,7 @@ <field name="fromDate" title="${uiLabelMap.CommonFromDate}" parameter-name="createdStamp"><date-find/></field> <field name="find" title="${uiLabelMap.CommonFind}"><submit/></field> </form> - <form name="hoursNotYetBilled" type="list" list-name="entryList" + <form name="HoursNotYetBilled" type="list" list-name="entryList" odd-row-style="alternate-row" default-table-style="basic-table hover-bar"> <actions> <entity-condition entity-name="ProjectPhaseTaskAndTimeEntryTimeSheet" list="entryList"> @@ -676,7 +676,7 @@ <field name="workEffortId"><hidden/></field> <field name="noteParty" title="${uiLabelMap.CommonBy}"><display description="${partyNameView.lastName} ${partyNameView.middleName} ${partyNameView.firstName} at ${noteDateTime}"/></field> </form> - <form name="listResourcesTasks" type="list" list-name="tasks" paginate-target="listResourcesTask" target="updateResourcesTaskAssigment" + <form name="ListResourcesTasks" type="list" list-name="tasks" paginate-target="listResourcesTask" target="updateResourcesTaskAssigment" odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <row-actions> <service service-name="getProjectIdAndNameFromTask" result-map="resultProject"> @@ -732,7 +732,7 @@ </hyperlink> </field> </form> - <form name="listResourcesProjects" type="list" list-name="parties" + <form name="ListResourcesProjects" type="list" list-name="parties" odd-row-style="alternate-row" header-row-style="header-row-2" default-table-style="basic-table hover-bar"> <row-actions> <service service-name="getProject" result-map="result"> Modified: ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml?rev=1761110&r1=1761109&r2=1761110&view=diff ============================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml (original) +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/TaskForms.xml Fri Sep 16 22:34:20 2016 @@ -297,7 +297,7 @@ </hyperlink> </field> </form> - <form name="assignTaskToMe" type="single" target="addTaskAssignment"> + <form name="AssignTaskToMe" type="single" target="addTaskAssignment"> <alt-target use-when="parameters.get("workEffortId")==null" target="MyTasks"/> <field name="partyId"><hidden value="${userLogin.partyId}"/></field> <field name="statusId"><hidden value="PAS_ASSIGNED"/></field> @@ -484,7 +484,7 @@ </hyperlink> </field> </form> - <form name="createTimeEntry" type="single" target="createTimeEntry"> + <form name="CreateTimeEntry" type="single" target="createTimeEntry"> <field name="fromDate" title="${uiLabelMap.CommonDate}"><date-time type="date"/></field> <field name="hours"><text size="10"/></field> <field name="partyId"> |
Free forum by Nabble | Edit this page |