Author: jonesde
Date: Fri Feb 23 06:48:26 2007
New Revision: 510964
URL:
http://svn.apache.org/viewvc?view=rev&rev=510964Log:
Some comments, small changes based on recent fix of ProductCategoryLink
Modified:
ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/ProductCategoryLink.ftl
ofbiz/trunk/applications/ecommerce/widget/CatalogScreens.xml
Modified: ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/ProductCategoryLink.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/ProductCategoryLink.ftl?view=diff&rev=510964&r1=510963&r2=510964==============================================================================
--- ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/ProductCategoryLink.ftl (original)
+++ ofbiz/trunk/applications/ecommerce/webapp/ecommerce/catalog/ProductCategoryLink.ftl Fri Feb 23 06:48:26 2007
@@ -17,8 +17,8 @@
under the License.
-->
-<#if requestAttributes.productCategoryLink?has_content>
-<#assign productCategoryLink = requestAttributes.productCategoryLink>
+<#assign productCategoryLink = requestAttributes.productCategoryLink?if_exists/>
+<#if productCategoryLink?has_content>
<#if productCategoryLink.detailSubScreen?has_content>
${screens.render(productCategoryLink.detailSubScreen)}
<#else>
Modified: ofbiz/trunk/applications/ecommerce/widget/CatalogScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/widget/CatalogScreens.xml?view=diff&rev=510964&r1=510963&r2=510964==============================================================================
--- ofbiz/trunk/applications/ecommerce/widget/CatalogScreens.xml (original)
+++ ofbiz/trunk/applications/ecommerce/widget/CatalogScreens.xml Fri Feb 23 06:48:26 2007
@@ -217,6 +217,7 @@
<screen name="ProductCategoryLink">
<section>
<actions>
+ <!-- TODO/NOTE DEJ20070223: for some reason this isn't working, doing an assign within the FTL file which does work: <set field="productCategoryLink" from-field="requestAttributes.productCategoryLink"/> -->
</actions>
<widgets>
<platform-specific><html><html-template location="component://ecommerce/webapp/ecommerce/catalog/ProductCategoryLink.ftl"/></html></platform-specific>