Re: svn commit: r1352804 - in /ofbiz/trunk/framework: images/webapp/images/fieldlookup.js 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
|

Re: svn commit: r1352804 - in /ofbiz/trunk/framework: images/webapp/images/fieldlookup.js widget/templates/htmlFormMacroLibrary.ftl

Chatree Srichart
Hi  Sascha
The line below causes a problem because it should not have "," before the
list.


> +                                                   <#lt/>, [<#rt/>

+                                                   <#list

> targetParameterIter as item>
> +                                                     <#if isFirst>
> +
> <#lt/>document.${formName}.${item}<#rt/>
> +                                                         <#assign isFirst
> = false>
> +                                                     <#else>
> +                                                         <#lt/>
> ,document.${formName}.${item}<#rt/>
> +                                                     </#if>
> +                                                   </#list>
> +                                                   <#lt/>]<#rt/>
> +                                           <#else>[]
> +                                           </#if>
> +                          <#lt/>
> +               };
> +               new Lookup(options).init();
>         });
>     </script>
>  </#if>
>
>
>
Regards,
Chatree Srichart