svn commit: r916546 - /ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r916546 - /ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl

hansbak-2
Author: hansbak
Date: Fri Feb 26 03:01:59 2010
New Revision: 916546

URL: http://svn.apache.org/viewvc?rev=916546&view=rev
Log:
Ebaystore:
 fixed error in xml form when  use  radio field type.

Modified:
    ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl

Modified: ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl?rev=916546&r1=916545&r2=916546&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl Fri Feb 26 03:01:59 2010
@@ -180,7 +180,7 @@
 <#macro renderRadioField items className alert currentValue noCurrentSelectedKey name event action>
 <#list items as item>
 <div <@renderClass className alert />><#rt/>
-<input type="radio"<#if currentValue?has_content><#if rp.currentValue==item.key> checked="checked"</#if><#elseif noCurrentSelectedKey?has_content && noCurrentSelectedKey == item.key> checked="checked"</#if> name="${name?default("")?html}" value="${item.key?default("")?html}"<#if event?has_content> ${event}="${action}"</#if>/><#rt/>
+<input type="radio"<#if currentValue?has_content><#if currentValue==item.key> checked="checked"</#if><#elseif noCurrentSelectedKey?has_content && noCurrentSelectedKey == item.key> checked="checked"</#if> name="${name?default("")?html}" value="${item.key?default("")?html}"<#if event?has_content> ${event}="${action}"</#if>/><#rt/>
 ${item.description}</div>
 </#list>
 </#macro>