+1. Enumeration sounds good. Will try to make a patch.
Thanks, Ankit Jain On Wed, Jun 19, 2013 at 12:47 PM, Jacques Le Roux < [email protected]> wrote: > There are currently 11 occurences in forms > Since it's not a priority, please open a Jira, this will allow to not > forget > The 1st effort was made by Marco > http://svn.apache.org/viewvc?view=revision&revision=755366 > > Jacques > > From: "Adrian Crum" <[email protected]> > > It would be nice if this list was implemented as an Enumeration. > > > > -Adrian > > > > > > On 6/18/2013 6:00 PM, [email protected] wrote: > >> Author: jleroux > >> Date: Tue Jun 18 17:00:37 2013 > >> New Revision: 1494202 > >> > >> URL: http://svn.apache.org/r1494202 > >> Log: > >> A patch from Ankit for "Priority field is missing on Add/Edit Project > form." https://issues.apache.org/jira/browse/OFBIZ-5230 > >> > >> Modified: > >> ofbiz/trunk/specialpurpose/projectmgr > /widget/forms/ProjectForms.xml > >> > >> Modified: ofbiz/trunk/specialpurpose/projectmgr > /widget/forms/ProjectForms.xml > >> URL: > http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml?rev=1494202&r1=1494201&r2=1494202&view=diff > >> > ============================================================================== > >> --- ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml > (original) > >> +++ ofbiz/trunk/specialpurpose/projectmgr/widget/forms/ProjectForms.xml > Tue Jun 18 17:00:37 2013 > >> @@ -63,7 +63,19 @@ > >> <entity-options entity-name="PartyAcctgPrefAndGroup" > description="${groupName}" key-field-name="partyId"/> > >> </drop-down> > >> </field> > >> - <field name="priority" title="${uiLabelMap. > CommonPriority}"><display/></field> > >> + <field name="priority" title="${uiLabelMap.CommonPriority}"> > >> + <drop-down allow-empty="true" no-current-selected-key="${ > priority}"> > >> + <option key="1" description="${uiLabelMap. > WorkEffortPriorityOne}"/> > >> + <option key="2" description="${uiLabelMap. > WorkEffortPriorityTwo}"/> > >> + <option key="3" description="${uiLabelMap. > WorkEffortPriorityThree}"/> > >> + <option key="4" description="${uiLabelMap. > WorkEffortPriorityFour}"/> > >> + <option key="5" description="${uiLabelMap. > WorkEffortPriorityFive}"/> > >> + <option key="6" description="${uiLabelMap. > WorkEffortPrioritySix}"/> > >> + <option key="7" description="${uiLabelMap. > WorkEffortPrioritySeventh}"/> > >> + <option key="8" description="${uiLabelMap. > WorkEffortPriorityEight}"/> > >> + <option key="9" description="${uiLabelMap. > WorkEffortPriorityNine}"/> > >> + </drop-down> > >> + </field> > >> <field name="scopeEnumId" title="${uiLabelMap. > ProjectMgrWorkEffortScopeEnumId}"> > >> <drop-down allow-empty="false" > no-current-selected-key="WES_PRIVATE"> > >> <entity-options entity-name="Enumeration" > description="${description}" key-field-name="enumId"> > >> > >> > > >
