You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacopo Cappellato <ti...@sastau.it> on 2007/12/31 06:42:25 UTC

Re: svn commit: r607633 - /ofbiz/trunk/applications/product/webapp/catalog/find/exportproducts.ftl

Marco,

I'm not sure if the change you did is correct.
The ftl template was probably designed to output a *tab* separated 
output file.

Jacopo



mrisaliti@apache.org wrote:
> Author: mrisaliti
> Date: Sun Dec 30 16:54:04 2007
> New Revision: 607633
> 
> URL: http://svn.apache.org/viewvc?rev=607633&view=rev
> Log:
> Changed tabs to 4 spaces and made indentation
> 
> Modified:
>     ofbiz/trunk/applications/product/webapp/catalog/find/exportproducts.ftl
> 
> Modified: ofbiz/trunk/applications/product/webapp/catalog/find/exportproducts.ftl
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/catalog/find/exportproducts.ftl?rev=607633&r1=607632&r2=607633&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/product/webapp/catalog/find/exportproducts.ftl (original)
> +++ ofbiz/trunk/applications/product/webapp/catalog/find/exportproducts.ftl Sun Dec 30 16:54:04 2007
> @@ -15,6 +15,24 @@
>  KIND, either express or implied.  See the License for the
>  specific language governing permissions and limitations
>  under the License.
> ---><#list productExportList as productExportMap><#assign productCategoryCount=0/><#assign productFeatureCount=0/>
> -${productExportMap.productId}	<#if productExportMap.productFeatureCustom?has_content>${productExportMap.productFeatureCustom.description?if_exists}</#if>	<#list 	productExportMap.productCategories as productCategoryAndMember><#if productCategoryAndMember.categoryName?has_content><#if productCategoryCount &gt; 0>,</#if>${productCategoryAndMember.categoryName}<#assign productCategoryCount=productCategoryCount + 1/></#if></#list>	<#list 	productExportMap.productFeatures as productFeatureAndAppl><#if productFeatureAndAppl.description?has_content><#if productFeatureCount &gt; 0>,</#if>${productFeatureAndAppl.description}<#assign productFeatureCount=productFeatureCount + 1/></#if></#list>
> +-->
> +<#list productExportList as productExportMap><#assign productCategoryCount=0/><#assign productFeatureCount=0/>
> +    ${productExportMap.productId}
> +    <#if productExportMap.productFeatureCustom?has_content>
> +        ${productExportMap.productFeatureCustom.description?if_exists}
> +    </#if>
> +    <#list productExportMap.productCategories as productCategoryAndMember>
> +        <#if productCategoryAndMember.categoryName?has_content>
> +            <#if productCategoryCount &gt; 0>,</#if>
> +            ${productCategoryAndMember.categoryName}
> +            <#assign productCategoryCount=productCategoryCount + 1/>
> +        </#if>
> +    </#list>    
> +    <#list productExportMap.productFeatures as productFeatureAndAppl>
> +        <#if productFeatureAndAppl.description?has_content>
> +            <#if productFeatureCount &gt; 0>,</#if>
> +            ${productFeatureAndAppl.description}
> +            <#assign productFeatureCount=productFeatureCount + 1/>
> +        </#if>
> +    </#list>
>  </#list>
>