You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2007/10/28 06:54:35 UTC

svn commit: r589272 - /ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/PartyForms.xml

Author: jacopoc
Date: Sat Oct 27 22:54:34 2007
New Revision: 589272

URL: http://svn.apache.org/viewvc?rev=589272&view=rev
Log:
Added label/style to mark the 'group name' field required for party groups. (imported from trunk rev. 589271).
Added labels/styles to mark the first/last name fields required for persons. (imported from trunk rev. 582480).
Issue OFBIZ-1367

Modified:
    ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/PartyForms.xml

Modified: ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/PartyForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/PartyForms.xml?rev=589272&r1=589271&r2=589272&view=diff
==============================================================================
--- ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/PartyForms.xml (original)
+++ ofbiz/branches/release4.0/applications/party/webapp/partymgr/party/PartyForms.xml Sat Oct 27 22:54:34 2007
@@ -28,6 +28,8 @@
         <field use-when="person!=null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
         <field use-when="person==null&amp;&amp;partyId==null" name="partyId" title="${uiLabelMap.PartyPartyId}"><ignored/></field>
         <field use-when="person==null&amp;&amp;partyId!=null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonCannotBeFound}: [${partyId}]"><display also-hidden="false"/></field>
+        <field name="firstName" title="${uiLabelMap.PartyFirstName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="40" maxlength="60"/></field>
+        <field name="lastName" title="${uiLabelMap.PartyLastName}" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"><text size="40" maxlength="60"/></field>
         <field name="gender">
             <drop-down allow-empty="true">
                 <option key="M" description="${uiLabelMap.CommonMale}"/>
@@ -48,12 +50,13 @@
     </form>
 
     <form name="EditPartyGroup" type="single" target="updatePartyGroup" default-map-name="partyGroup"
-        focus-field-name="groupName">
-            <alt-target use-when="partyGroup==null" target="createPartyGroup"/>
+            focus-field-name="groupName">
+        <alt-target use-when="partyGroup==null" target="createPartyGroup"/>
         <auto-fields-service service-name="updatePartyGroup"/>
         <field use-when="partyGroup!=null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonNotModifRecreat}"><display/></field>
         <field use-when="partyGroup==null&amp;&amp;partyId==null" name="partyId" title="${uiLabelMap.PartyPartyId}"><ignored/></field>
         <field use-when="partyGroup==null&amp;&amp;partyId!=null" name="partyId" title="${uiLabelMap.PartyPartyId}" tooltip="${uiLabelMap.CommonCannotBeFound}: [${partyId}]"><display also-hidden="false"/></field>
+        <field name="groupName" tooltip="${uiLabelMap.CommonRequired}" widget-style="required"></field>
         <field name="partyTypeId"><ignored/></field>
         <field name="submitButton" title="${uiLabelMap.CommonSave}"><submit button-type="button"/></field>
         <field name="cancelLink" title="" widget-style="smallSubmit"><hyperlink target="${donePage}?partyId=${partyId}" also-hidden="false" description="${uiLabelMap.CommonCancelDone}"/></field>