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-3928Thanks
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">
>
>