You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by er...@apache.org on 2010/09/03 11:54:13 UTC

svn commit: r992247 - /ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl

Author: erwan
Date: Fri Sep  3 09:54:12 2010
New Revision: 992247

URL: http://svn.apache.org/viewvc?rev=992247&view=rev
Log:
Since 990004, facilityContactMechPurposeType is now mandatory, adding a drop-down so the user can select one

Modified:
    ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl

Modified: ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl?rev=992247&r1=992246&r2=992247&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl Fri Sep  3 09:54:12 2010
@@ -65,6 +65,18 @@ under the License.
         <#if contactMechPurposeTypeId?exists><input type='hidden' name='contactMechPurposeTypeId' value='${contactMechPurposeTypeId?if_exists}' /></#if>
 
         <#if paymentMethodId?exists><input type='hidden' name='paymentMethodId' value='${paymentMethodId}' /></#if>
+
+        <tr>
+          <td class="label">${uiLabelMap.PartyContactPurposes}</td>
+          <td>
+            <select name='contactMechPurposeTypeId' class="required">
+              <option></option>
+              <#list mechMap.purposeTypes as contactMechPurposeType>
+                <option value='${contactMechPurposeType.contactMechPurposeTypeId}'>${contactMechPurposeType.get("description",locale)}</option>
+               </#list>
+            </select>
+          *</td>
+        </tr>
     <#else>
       <h1>${title}</h1>
       <div class="button-bar">



Re: svn commit: r992247 - /ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl

Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "Erwan de FERRIERES" <er...@nereide.fr>
> Le 09/09/2010 17:07, Jacques Le Roux a écrit :
>> Hi Erwan,
>>
>> Are you sure that facilityContactMechPurposeType is now mandatory? I did
>> not look into details in this peculiar case and I guess you are right,
>> but please check https://issues.apache.org/jira/browse/OFBIZ-3928
>>
>> Thanks

Yes, thanks Erwan!

Jacques

>>
> Before the commit you made and after David's, it was. Now it is no more mandatory. But my commit is still valid.
>
> Cheers,
>
> -- 
> Erwan de FERRIERES
> www.nereide.biz
> 



Re: svn commit: r992247 - /ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl

Posted by Erwan de FERRIERES <er...@nereide.fr>.
Le 09/09/2010 17:07, Jacques Le Roux a écrit :
> Hi Erwan,
>
> Are you sure that facilityContactMechPurposeType is now mandatory? I did
> not look into details in this peculiar case and I guess you are right,
> but please check https://issues.apache.org/jira/browse/OFBIZ-3928
>
> Thanks
>
>
Before the commit you made and after David's, it was. Now it is no more 
mandatory. But my commit is still valid.

Cheers,

-- 
Erwan de FERRIERES
www.nereide.biz

Re: svn commit: r992247 - /ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl

Posted by Jacques Le Roux <ja...@les7arts.com>.
Hi Erwan,

Are you sure that facilityContactMechPurposeType is now mandatory? I did not look into details in this peculiar case and I guess you 
are right, but please check https://issues.apache.org/jira/browse/OFBIZ-3928

Thanks

Jacques

> Author: erwan
> Date: Fri Sep  3 09:54:12 2010
> New Revision: 992247
>
> URL: http://svn.apache.org/viewvc?rev=992247&view=rev
> Log:
> Since 990004, facilityContactMechPurposeType is now mandatory, adding a drop-down so the user can select one
>
> Modified:
>    ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl
>
> Modified: ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl
> URL: 
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl?rev=992247&r1=992246&r2=992247&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl (original)
> +++ ofbiz/trunk/applications/product/webapp/facility/facility/EditContactMech.ftl Fri Sep  3 09:54:12 2010
> @@ -65,6 +65,18 @@ under the License.
>         <#if contactMechPurposeTypeId?exists><input type='hidden' name='contactMechPurposeTypeId' 
> value='${contactMechPurposeTypeId?if_exists}' /></#if>
>
>         <#if paymentMethodId?exists><input type='hidden' name='paymentMethodId' value='${paymentMethodId}' /></#if>
> +
> +        <tr>
> +          <td class="label">${uiLabelMap.PartyContactPurposes}</td>
> +          <td>
> +            <select name='contactMechPurposeTypeId' class="required">
> +              <option></option>
> +              <#list mechMap.purposeTypes as contactMechPurposeType>
> +                <option 
> value='${contactMechPurposeType.contactMechPurposeTypeId}'>${contactMechPurposeType.get("description",locale)}</option>
> +               </#list>
> +            </select>
> +          *</td>
> +        </tr>
>     <#else>
>       <h1>${title}</h1>
>       <div class="button-bar">
>
>