Hi Jacques

Sorry I only just got around to reviewing this, the correct fix is to provide an empty option value so that the option description doesn't become the value:
<option value="">--</option>

Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 24/10/2009, at 9:05 PM, [email protected] wrote:

Author: jleroux
Date: Sat Oct 24 08:05:41 2009
New Revision: 829320

URL: http://svn.apache.org/viewvc?rev=829320&view=rev
Log:
Reverts a change done in r806206, definitively fix "Error during Registration (new customer)" reported by Abdullah Shaikh at (https://issues.apache.org/jira/browse/OFBIZ-3076 ) - OFBIZ-3076

Modified:
ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/ newcustomer.ftl

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/ customer/newcustomer.ftl
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/newcustomer.ftl?rev=829320&r1=829319&r2=829320&view=diff
= = = = = = = = ====================================================================== --- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/ newcustomer.ftl (original) +++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/customer/ newcustomer.ftl Sat Oct 24 08:05:41 2009
@@ -229,7 +229,7 @@
<select name="CUSTOMER_ADDRESS_ALLOW_SOL" id="CUSTOMER_ADDRESS_ALLOW_SOL"> <#if (((requestParameters.CUSTOMER_ADDRESS_ALLOW_SOL)!"") == "Y")><option value="Y">${uiLabelMap.CommonY}</option></#if> <#if (((requestParameters.CUSTOMER_ADDRESS_ALLOW_SOL)!"") == "N")><option value="N">${uiLabelMap.CommonN}</option></#if>
-        <option>-</option>
+        <option></option>
        <option value="Y">${uiLabelMap.CommonY}</option>
        <option value="N">${uiLabelMap.CommonN}</option>
      </select>



Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to