Author: adrianc
Date: Sat Jul 14 08:31:16 2007
New Revision: 556290
URL:
http://svn.apache.org/viewvc?view=rev&rev=556290Log:
Small commit to clear up some confusion about the commits that came from OFBIZ-1041. The pattern used in this commit is the one that should be used for Y/N drop-down lists.
Modified:
ofbiz/trunk/applications/party/webapp/partymgr/party/editcontactmech.ftl
Modified: ofbiz/trunk/applications/party/webapp/partymgr/party/editcontactmech.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/party/editcontactmech.ftl?view=diff&rev=556290&r1=556289&r2=556290==============================================================================
--- ofbiz/trunk/applications/party/webapp/partymgr/party/editcontactmech.ftl (original)
+++ ofbiz/trunk/applications/party/webapp/partymgr/party/editcontactmech.ftl Sat Jul 14 08:31:16 2007
@@ -222,7 +222,10 @@
<td class="label">${uiLabelMap.PartyContactAllowSolicitation}?</td>
<td>
<select name="allowSolicitation">
- <option>${(mechMap.partyContactMech.allowSolicitation?if_exists)?default("Y")}</option>
+ <#if (mechMap.partyContactMech.allowSolicitation)?has_content>
+ <#if (mechMap.partyContactMech.allowSolicitation?default("") == "Y")><option value="Y">${uiLabelMap.CommonY}</option></#if>
+ <#if (mechMap.partyContactMech.allowSolicitation?default("") == "N")><option value="N">${uiLabelMap.CommonN}</option></#if>
+ </#if>
<option></option>
<option value="Y">${uiLabelMap.CommonY}</option>
<option value="N">${uiLabelMap.CommonN}</option>