|
Author: jleroux
Date: Sat Jun 30 20:13:37 2012 New Revision: 1355803 URL: http://svn.apache.org/viewvc?rev=1355803&view=rev Log: "Applied fix from trunk for revision: 1355801 " ------------------------------------------------------------------------ r1355801 | jleroux | 2012-06-30 22:12:19 +0200 (sam., 30 juin 2012) | 14 lines A patch from Tom Burns for "Defects in Presentation of Role Type" https://issues.apache.org/jira/browse/OFBIZ-4947 Release 10.4 and SVN tunk In Party Manager go to Profile > Roles(s) 1. Create a New Role Type 2. Click save Expected: Screen refresh and return to Roles(s) tab on ProfileTabBar Actual: Screen refresh ProfileTabBar missing In SVN tunk In Party Manager go to Profile > Roles(s) Expected: Roles listed in screenlet Add To Main Role > Role Type Id drop-down list Actual: Screenlet Add To Main Role > Role Type Id drop-down list is empty. ------------------------------------------------------------------------ Modified: ofbiz/branches/release11.04/ (props changed) ofbiz/branches/release11.04/applications/party/widget/partymgr/PartyForms.xml Propchange: ofbiz/branches/release11.04/ ------------------------------------------------------------------------------ Merged /ofbiz/trunk:r1355801 Modified: ofbiz/branches/release11.04/applications/party/widget/partymgr/PartyForms.xml URL: http://svn.apache.org/viewvc/ofbiz/branches/release11.04/applications/party/widget/partymgr/PartyForms.xml?rev=1355803&r1=1355802&r2=1355803&view=diff ============================================================================== --- ofbiz/branches/release11.04/applications/party/widget/partymgr/PartyForms.xml (original) +++ ofbiz/branches/release11.04/applications/party/widget/partymgr/PartyForms.xml Sat Jun 30 20:13:37 2012 @@ -992,11 +992,16 @@ under the License. <field name="add" title="${uiLabelMap.CommonAdd}"><submit/></field> </form> <form name="AddPartyMainRole" type="single" title="${uiLabelMap.PartyAddToMainRole}" target="addrole/viewroles"> + <actions> + <entity-condition entity-name="RoleType" list="parentRoleList"> + <condition-expr field-name="parentTypeId" operator="equals" from-field="nullField"/> + <order-by field-name="description"/> + </entity-condition> + </actions> <field name="partyId"><hidden value="${parameters.partyId}"/></field> <field name="roleTypeId" event="onChange" action="ajaxUpdateArea('addPartySecondaryRole', 'addsecondaryroles', $('AddPartyMainRole').serialize());" entry-name="dummy"> <drop-down allow-empty="false"> <entity-options entity-name="RoleType" description="${description}"> - <entity-constraint name="parentTypeId" value=""/> <entity-order-by field-name="description"/> </entity-options> </drop-down> @@ -1016,6 +1021,7 @@ under the License. <field name="add" title="${uiLabelMap.CommonAdd}"><submit/></field> </form> <form name="AddRoleType" type="single" title="Add a new roletype" target="createroletype" list-name="parentRoleList"> + <field name="partyId"><hidden value="${parameters.partyId}"/></field> <field name="roleTypeId" title="${uiLabelMap.PartyRoleTypeId}" required-field="true" entry-name="dummy" position="1"><text/></field> <field name="parentTypeId" position="2"> <drop-down allow-empty="true"> |
| Free forum by Nabble | Edit this page |
