svn commit: r441323 - /incubator/ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r441323 - /incubator/ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListForms.xml

sichen
Author: sichen
Date: Thu Sep  7 18:34:37 2006
New Revision: 441323

URL: http://svn.apache.org/viewvc?view=rev&rev=441323
Log:
A couple of defaults for contact list forms: default to EMAIL ADDRESS for new contact lists, default to COM_PENDING for status of a new comm event

Modified:
    incubator/ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListForms.xml

Modified: incubator/ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListForms.xml
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListForms.xml?view=diff&rev=441323&r1=441322&r2=441323
==============================================================================
--- incubator/ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListForms.xml (original)
+++ incubator/ofbiz/trunk/applications/marketing/webapp/marketing/contact/ContactListForms.xml Thu Sep  7 18:34:37 2006
@@ -48,7 +48,7 @@
         </field>
         
         <field name="contactMechTypeId" title="${uiLabelMap.ContactListContactMechTypeId}">
-            <drop-down>
+            <drop-down no-current-selected-key="EMAIL_ADDRESS">
                 <entity-options description="${description}" entity-name="ContactMechType" key-field-name="contactMechTypeId">
                     <entity-order-by field-name="description"/>
                 </entity-options>
@@ -191,10 +191,11 @@
         
         <field name="partyIdFrom" title="${uiLabelMap.PartyPartyFrom}"><lookup target-form-name="LookupPartyName"/></field>
         <field name="statusId" use-when="communicationEvent==null" title="${uiLabelMap.CommonStatus}" widget-style="selectBox">
-            <drop-down>
-                <entity-options description="${description}" entity-name="StatusItem" key-field-name="statusId">
-                    <entity-constraint name="statusTypeId" operator="equals" value="COM_EVENT_STATUS"/>
-                </entity-options>
+            <drop-down allow-empty="false" no-current-selected-key="COM_PENDING">
+                 <entity-options description="${description}" entity-name="StatusItem" key-field-name="statusId">
+                     <entity-constraint name="statusTypeId" operator="equals" value="COM_EVENT_STATUS"/>
+                     <entity-order-by field-name="sequenceId"/>
+                 </entity-options>
             </drop-down>
         </field>
         <field name="statusId" use-when="communicationEvent!=null" title="${uiLabelMap.CommonStatus}" widget-style="selectBox">