You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2014/08/18 09:42:37 UTC

svn commit: r1618554 [30/38] - in /ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23: ./ applications/accounting/config/ applications/accounting/script/org/ofbiz/accounting/invoice/ applications/accounting/src/org/ofbiz/accounting/invoice/ appli...

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/lastviewedproducts.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/lastviewedproducts.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/lastviewedproducts.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/lastviewedproducts.ftl Mon Aug 18 07:42:27 2014
@@ -26,7 +26,7 @@ under the License.
   </tr>
 </table>
 
-<#if sessionAttributes.lastViewedProducts?exists && sessionAttributes.lastViewedProducts?has_content>
+<#if sessionAttributes.lastViewedProducts?? && sessionAttributes.lastViewedProducts?has_content>
 
   <table>
     <#list sessionAttributes.lastViewedProducts as productId>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/miniassocprods.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/miniassocprods.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/miniassocprods.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/miniassocprods.ftl Mon Aug 18 07:42:27 2014
@@ -17,7 +17,7 @@ specific language governing permissions 
 under the License.
 -->
 
-<#assign associatedProducts = Static["org.ofbiz.order.shoppingcart.product.ProductDisplayWorker"].getRandomCartProductAssoc(request, true)?if_exists>
+<#assign associatedProducts = Static["org.ofbiz.order.shoppingcart.product.ProductDisplayWorker"].getRandomCartProductAssoc(request, true)!>
 <#if associatedProducts?has_content>
 <div id="miniassocproducts" class="screenlet">
     <h3>${uiLabelMap.EcommerceYouMightLike}...</h3>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastproductsearches.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastproductsearches.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastproductsearches.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastproductsearches.ftl Mon Aug 18 07:42:27 2014
@@ -18,7 +18,7 @@ under the License.
 -->
 
 <#assign maxToShow = 4/>
-<#assign searchOptionsHistoryList = Static["org.ofbiz.product.product.ProductSearchSession"].getSearchOptionsHistoryList(session)?if_exists/>
+<#assign searchOptionsHistoryList = Static["org.ofbiz.product.product.ProductSearchSession"].getSearchOptionsHistoryList(session)!/>
 <#if searchOptionsHistoryList?has_content>
     <#if (searchOptionsHistoryList?size > maxToShow)><#assign limit=maxToShow/><#else><#assign limit=(searchOptionsHistoryList?size-1)/></#if>
     <div id="minilastproductsearches" class="screenlet">

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastviewedcategories.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastviewedcategories.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastviewedcategories.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastviewedcategories.ftl Mon Aug 18 07:42:27 2014
@@ -18,7 +18,7 @@ under the License.
 -->
 
 <#assign maxToShow = 8/>
-<#assign lastViewedCategories = sessionAttributes.lastViewedCategories?if_exists/>
+<#assign lastViewedCategories = sessionAttributes.lastViewedCategories!/>
 <#if lastViewedCategories?has_content>
   <#if (lastViewedCategories?size > maxToShow)><#assign limit=maxToShow/><#else><#assign limit=(lastViewedCategories?size-1)/></#if>
   <div id="minilastviewedcategories" class="screenlet">
@@ -32,15 +32,15 @@ under the License.
     <div class="screenlet-body">
       <ul class="browsecategorylist">
         <#list lastViewedCategories[0..limit] as categoryId>
-          <#assign category = delegator.findOne("ProductCategory", Static["org.ofbiz.base.util.UtilMisc"].toMap("productCategoryId", categoryId), true)?if_exists>
+          <#assign category = delegator.findOne("ProductCategory", Static["org.ofbiz.base.util.UtilMisc"].toMap("productCategoryId", categoryId), true)!>
           <#if category?has_content>
             <li class="browsecategorytext">
-              <#if catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")?exists>
+              <#if catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")??>
                 <a href="<@ofbizCatalogAltUrl productCategoryId=categoryId/>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")}</a>
-              <#elseif catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("DESCRIPTION")?exists>
+              <#elseif catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("DESCRIPTION")??>
                 <a href="<@ofbizCatalogAltUrl productCategoryId=categoryId/>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")}</a>
               <#else>
-                <a href="<@ofbizCatalogAltUrl productCategoryId=categoryId/>" class="browsecategorybutton">${category.description?if_exists}</a>
+                <a href="<@ofbizCatalogAltUrl productCategoryId=categoryId/>" class="browsecategorybutton">${category.description!}</a>
               </#if>
             </li>
           </#if>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastviewedproducts.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastviewedproducts.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastviewedproducts.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/minilastviewedproducts.ftl Mon Aug 18 07:42:27 2014
@@ -18,7 +18,7 @@ under the License.
 -->
 
 <#assign maxToShow = 4/>
-<#assign lastViewedProducts = sessionAttributes.lastViewedProducts?if_exists/>
+<#assign lastViewedProducts = sessionAttributes.lastViewedProducts!/>
 <#if lastViewedProducts?has_content>
   <#if (lastViewedProducts?size > maxToShow)><#assign limit=maxToShow/><#else><#assign limit=(lastViewedProducts?size-1)/></#if>
   <div id="minilastviewedproducts" class="screenlet">  

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/miniproductsummary.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/miniproductsummary.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/miniproductsummary.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/miniproductsummary.ftl Mon Aug 18 07:42:27 2014
@@ -16,13 +16,13 @@ KIND, either express or implied.  See th
 specific language governing permissions and limitations
 under the License.
 -->
-<#if miniProduct?exists>
+<#if miniProduct??>
     <a href="<@ofbizCatalogAltUrl productId=miniProduct.productId/>" class="linktext">${miniProductContentWrapper.get("PRODUCT_NAME")?default("No Name Available")}</a>
     <ul>
         <li>${miniProduct.productId}
           <#if (priceResult.price?default(0) > 0 && miniProduct.requireAmount?default("N") == "N")>
-            <#if "Y" = miniProduct.isVirtual?if_exists> ${uiLabelMap.CommonFrom} </#if>
-            <#if totalPrice?exists>
+            <#if "Y" = miniProduct.isVirtual!> ${uiLabelMap.CommonFrom} </#if>
+            <#if totalPrice??>
               <li>${uiLabelMap.ProductAggregatedPrice}: <span class='basePrice'><@ofbizCurrency amount=totalPrice isoCode=priceResult.currencyUsed/></span></li>
             <#else>
               <span class="<#if priceResult.isSale>salePrice<#else>normalPrice</#if>">
@@ -30,16 +30,16 @@ under the License.
             </#if>
           </#if>
         </li>
-    <#if (miniProduct.introductionDate?exists) && (nowTimeLong < miniProduct.introductionDate.getTime())>
+    <#if (miniProduct.introductionDate??) && (nowTimeLong < miniProduct.introductionDate.getTime())>
         <#-- check to see if introductionDate hasn't passed yet -->
         <li>${uiLabelMap.ProductNotYetAvailable}</li>
-    <#elseif (miniProduct.salesDiscontinuationDate?exists) && (nowTimeLong > miniProduct.salesDiscontinuationDate.getTime())>
+    <#elseif (miniProduct.salesDiscontinuationDate??) && (nowTimeLong > miniProduct.salesDiscontinuationDate.getTime())>
         <#-- check to see if salesDiscontinuationDate has passed -->
         <li>${uiLabelMap.ProductNoLongerAvailable}</li>
     <#elseif miniProduct.isVirtual?default("N") == "Y">
-        <li><a href="<@ofbizCatalogAltUrl productCategoryId=requestParameters.category_id?exists productId=miniProduct.productId/>" class="buttons"><span style="white-space: nowrap;">${uiLabelMap.OrderChooseVariations}...</span></a></li>
+        <li><a href="<@ofbizCatalogAltUrl productCategoryId=requestParameters.category_id?? productId=miniProduct.productId/>" class="buttons"><span style="white-space: nowrap;">${uiLabelMap.OrderChooseVariations}...</span></a></li>
     <#elseif miniProduct.requireAmount?default("N") == "Y">
-        <li><a href="<@ofbizCatalogAltUrl productCategoryId=requestParameters.category_id?exists productId=miniProduct.productId/>" class="buttons"><span style="white-space: nowrap;">${uiLabelMap.OrderChooseAmount}...</span></a></li>
+        <li><a href="<@ofbizCatalogAltUrl productCategoryId=requestParameters.category_id?? productId=miniProduct.productId/>" class="buttons"><span style="white-space: nowrap;">${uiLabelMap.OrderChooseAmount}...</span></a></li>
     <#else>
       <li>
         <form method="post" action="<@ofbizUrl>additem<#if requestAttributes._CURRENT_VIEW_?has_content>/${requestAttributes._CURRENT_VIEW_}</#...@ofbizUrl>" name="${miniProdFormName}" style="margin: 0;">

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/productdetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/productdetail.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/productdetail.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/productdetail.ftl Mon Aug 18 07:42:27 2014
@@ -17,13 +17,13 @@ specific language governing permissions 
 under the License.
 -->
 <#-- variable setup -->
-<#assign price = priceMap?if_exists />
-<#assign productImageList = productImageList?if_exists />
+<#assign price = priceMap! />
+<#assign productImageList = productImageList! />
 <#-- end variable setup -->
 
 <#-- virtual product javascript -->
-${virtualJavaScript?if_exists}
-${virtualVariantJavaScript?if_exists}
+${virtualJavaScript!}
+${virtualVariantJavaScript!}
 <script type="text/javascript">
 //<![CDATA[
     var detailImageUrl = null;
@@ -73,7 +73,7 @@ ${virtualVariantJavaScript?if_exists}
     }
     function isVirtual(product) {
         var isVirtual = false;
-        <#if virtualJavaScript?exists>
+        <#if virtualJavaScript??>
         for (i = 0; i < VIR.length; i++) {
             if (VIR[i] == product) {
                 isVirtual = true;
@@ -88,7 +88,7 @@ ${virtualVariantJavaScript?if_exists}
            return;
        } else {
            if (isVirtual(document.addform.add_product_id.value)) {
-               document.location = '<@o...@ofbizUrl>' + document.addform.add_product_id.value;
+               document.location = '<@o...@ofbizUrl>' + document.addform.add_product_id.value;
                return;
            } else {
                document.addform.submit();
@@ -160,7 +160,7 @@ ${virtualVariantJavaScript?if_exists}
             // eval the next list if there are more
             var selectedValue = document.forms["addform"].elements[name].options[(index*1)+1].value;
             if (index == -1) {
-              <#if featureOrderFirst?exists>
+              <#if featureOrderFirst??>
                 var Variable1 = eval("list" + "${featureOrderFirst}" + "()");
               </#if>
             } else {
@@ -219,7 +219,7 @@ ${virtualVariantJavaScript?if_exists}
     }
 
     function additemSubmit(){
-        <#if product.productTypeId?if_exists == "ASSET_USAGE" || product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
+        <#if product.productTypeId! == "ASSET_USAGE" || product.productTypeId! == "ASSET_USAGE_OUT_IN">
         newdatevalue = validate(document.addform.reservStart.value);
         if (newdatevalue == false) {
             document.addform.reservStart.focus();
@@ -233,7 +233,7 @@ ${virtualVariantJavaScript?if_exists}
     }
 
     function addShoplistSubmit(){
-        <#if product.productTypeId?if_exists == "ASSET_USAGE" || product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
+        <#if product.productTypeId! == "ASSET_USAGE" || product.productTypeId! == "ASSET_USAGE_OUT_IN">
         if (document.addToShoppingList.reservStartStr.value == "") {
             document.addToShoppingList.submit();
         } else {
@@ -252,7 +252,7 @@ ${virtualVariantJavaScript?if_exists}
         </#if>
     }
 
-    <#if product.virtualVariantMethodEnum?if_exists == "VV_FEATURETREE" && featureLists?has_content>
+    <#if product.virtualVariantMethodEnum! == "VV_FEATURETREE" && featureLists?has_content>
         function checkRadioButton() {
             var block1 = document.getElementById("addCart1");
             var block2 = document.getElementById("addCart2");
@@ -319,7 +319,7 @@ $(function(){
  </script>
 
 <#macro showUnavailableVarients>
-  <#if unavailableVariants?exists>
+  <#if unavailableVariants??>
     <ul>
       <#list unavailableVariants as prod>
         <#assign features = prod.getRelated("ProductFeatureAppl", null, null, false)/>
@@ -335,20 +335,20 @@ $(function(){
 </#macro>
 
 <div id="productdetail">
-    <#assign productAdditionalImage1 = productContentWrapper.get("ADDITIONAL_IMAGE_1")?if_exists />
-    <#assign productAdditionalImage2 = productContentWrapper.get("ADDITIONAL_IMAGE_2")?if_exists />
-    <#assign productAdditionalImage3 = productContentWrapper.get("ADDITIONAL_IMAGE_3")?if_exists />
-    <#assign productAdditionalImage4 = productContentWrapper.get("ADDITIONAL_IMAGE_4")?if_exists />
+    <#assign productAdditionalImage1 = productContentWrapper.get("ADDITIONAL_IMAGE_1")! />
+    <#assign productAdditionalImage2 = productContentWrapper.get("ADDITIONAL_IMAGE_2")! />
+    <#assign productAdditionalImage3 = productContentWrapper.get("ADDITIONAL_IMAGE_3")! />
+    <#assign productAdditionalImage4 = productContentWrapper.get("ADDITIONAL_IMAGE_4")! />
     
       <#-- Category next/previous -->
-      <#if category?exists>
+      <#if category??>
           <div id="paginationBox">
-            <#if previousProductId?exists>
-              <a href="<@ofbizCatalogAltUrl productCategoryId=categoryId?if_exists productId=previousProductId?if_exists/>" class="buttontext">${uiLabelMap.CommonPrevious}</a>&nbsp;|&nbsp;
+            <#if previousProductId??>
+              <a href="<@ofbizCatalogAltUrl productCategoryId=categoryId! productId=previousProductId!/>" class="buttontext">${uiLabelMap.CommonPrevious}</a>&nbsp;|&nbsp;
             </#if>
-            <a href="<@ofbizCatalogAltUrl productCategoryId=categoryId?if_exists/>" class="linktext">${(category.categoryName)?default(category.description)?if_exists}</a>
-            <#if nextProductId?exists>
-              &nbsp;|&nbsp;<a href="<@ofbizCatalogAltUrl productCategoryId=categoryId?if_exists productId=nextProductId?if_exists/>" class="buttontext">${uiLabelMap.CommonNext}</a>
+            <a href="<@ofbizCatalogAltUrl productCategoryId=categoryId!/>" class="linktext">${(category.categoryName)?default(category.description)!}</a>
+            <#if nextProductId??>
+              &nbsp;|&nbsp;<a href="<@ofbizCatalogAltUrl productCategoryId=categoryId! productId=nextProductId!/>" class="buttontext">${uiLabelMap.CommonNext}</a>
             </#if>
           </div>
       </#if>
@@ -358,14 +358,14 @@ $(function(){
         <#if productImageList?has_content>
             <#-- Product image/name/price -->
             <div id="detailImageBox">
-                <#assign productLargeImageUrl = productContentWrapper.get("LARGE_IMAGE_URL")?if_exists />
+                <#assign productLargeImageUrl = productContentWrapper.get("LARGE_IMAGE_URL")! />
                 <#-- remove the next two lines to always display the virtual image first (virtual images must exist) -->
                 <#if firstLargeImage?has_content>
                     <#assign productLargeImageUrl = firstLargeImage />
                 </#if>
                 <#if productLargeImageUrl?string?has_content>
-                    <a href="javascript:popupDetail();"><img id="detailImage" src="<@o...@ofbizContentUrl>" name="mainImage" vspace="5" hspace="5" class="cssImgXLarge" alt="" /></a>
-                    <input type="hidden" id="originalImage" name="originalImage" value="<@o...@ofbizContentUrl>" />
+                    <a href="javascript:popupDetail();"><img id="detailImage" src="<@o...@ofbizContentUrl>" name="mainImage" vspace="5" hspace="5" class="cssImgXLarge" alt="" /></a>
+                    <input type="hidden" id="originalImage" name="originalImage" value="<@o...@ofbizContentUrl>" />
                 </#if>
                 <#if !productLargeImageUrl?string?has_content>
                     <img id="detailImage" src="/images/defaultImage.jpg" name="mainImage" alt="" />
@@ -384,14 +384,14 @@ $(function(){
         <#else>
             <#-- Product image/name/price -->
             <div id="detailImageBox">
-                <#assign productLargeImageUrl = productContentWrapper.get("LARGE_IMAGE_URL")?if_exists />
+                <#assign productLargeImageUrl = productContentWrapper.get("LARGE_IMAGE_URL")! />
                 <#-- remove the next two lines to always display the virtual image first (virtual images must exist) -->
                 <#if firstLargeImage?has_content>
                     <#assign productLargeImageUrl = firstLargeImage />
                 </#if>
                 <#if productLargeImageUrl?string?has_content>
-                    <a href="javascript:popupDetail();"><img id="detailImage" src="<@o...@ofbizContentUrl>" name="mainImage" vspace="5" hspace="5" class="cssImgXLarge" alt="" /></a>
-                    <input type="hidden" id="originalImage" name="originalImage" value="<@o...@ofbizContentUrl>" />
+                    <a href="javascript:popupDetail();"><img id="detailImage" src="<@o...@ofbizContentUrl>" name="mainImage" vspace="5" hspace="5" class="cssImgXLarge" alt="" /></a>
+                    <input type="hidden" id="originalImage" name="originalImage" value="<@o...@ofbizContentUrl>" />
                 </#if>
                 <#if !productLargeImageUrl?string?has_content>
                     <img id="detailImage" src="/images/defaultImage.jpg" name="mainImage" alt="" />
@@ -422,9 +422,9 @@ $(function(){
         </#if>
         
         <div id="productDetailBox">
-          <h2>${productContentWrapper.get("PRODUCT_NAME")?if_exists}</h2>
-          <div>${productContentWrapper.get("DESCRIPTION")?if_exists}</div>
-          <div>${product.productId?if_exists}</div>
+          <h2>${productContentWrapper.get("PRODUCT_NAME")!}</h2>
+          <div>${productContentWrapper.get("DESCRIPTION")!}</div>
+          <div>${product.productId!}</div>
           <#-- example of showing a certain type of feature with the product -->
           <#if sizeProductFeatureAndAppls?has_content>
             <div>
@@ -445,102 +445,102 @@ $(function(){
                   - if price < defaultPrice and defaultPrice < listPrice, show default
                   - if isSale show price with salePrice style and print "On Sale!"
           -->
-          <#if price.competitivePrice?exists && price.price?exists && price.price &lt; price.competitivePrice>
+          <#if price.competitivePrice?? && price.price?? && price.price &lt; price.competitivePrice>
             <div>${uiLabelMap.ProductCompareAtPrice}: <span class="basePrice"><@ofbizCurrency amount=price.competitivePrice isoCode=price.currencyUsed /></span></div>
           </#if>
-          <#if price.listPrice?exists && price.price?exists && price.price &lt; price.listPrice>
+          <#if price.listPrice?? && price.price?? && price.price &lt; price.listPrice>
             <div>${uiLabelMap.ProductListPrice}: <span class="basePrice"><@ofbizCurrency amount=price.listPrice isoCode=price.currencyUsed /></span></div>
           </#if>
-          <#if price.listPrice?exists && price.defaultPrice?exists && price.price?exists && price.price &lt; price.defaultPrice && price.defaultPrice &lt; price.listPrice>
+          <#if price.listPrice?? && price.defaultPrice?? && price.price?? && price.price &lt; price.defaultPrice && price.defaultPrice &lt; price.listPrice>
             <div>${uiLabelMap.ProductRegularPrice}: <span class="basePrice"><@ofbizCurrency amount=price.defaultPrice isoCode=price.currencyUsed /></span></div>
           </#if>
-          <#if price.specialPromoPrice?exists>
+          <#if price.specialPromoPrice??>
             <div>${uiLabelMap.ProductSpecialPromoPrice}: <span class="basePrice"><@ofbizCurrency amount=price.specialPromoPrice isoCode=price.currencyUsed /></span></div>
           </#if>
           <div>
             <strong>
-              <#if price.isSale?exists && price.isSale>
+              <#if price.isSale?? && price.isSale>
                 <span class="salePrice">${uiLabelMap.OrderOnSale}!</span>
                 <#assign priceStyle = "salePrice" />
               <#else>
                 <#assign priceStyle = "regularPrice" />
               </#if>
-                ${uiLabelMap.OrderYourPrice}: <#if "Y" = product.isVirtual?if_exists> ${uiLabelMap.CommonFrom} </#if><span class="${priceStyle}"><@ofbizCurrency amount=price.price isoCode=price.currencyUsed /></span>
-                 <#if product.productTypeId?if_exists == "ASSET_USAGE" || product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
-                <#if product.reserv2ndPPPerc?exists && product.reserv2ndPPPerc != 0><br /><span class="${priceStyle}">${uiLabelMap.ProductReserv2ndPPPerc}<#if !product.reservNthPPPerc?exists || product.reservNthPPPerc == 0>${uiLabelMap.CommonUntil} ${product.reservMaxPersons!1}</#if> <@ofbizCurrency amount=product.reserv2ndPPPerc*price.price/100 isoCode=price.currencyUsed /></span></#if>
-                <#if product.reservNthPPPerc?exists &&product.reservNthPPPerc != 0><br /><span class="${priceStyle}">${uiLabelMap.ProductReservNthPPPerc} <#if !product.reserv2ndPPPerc?exists || product.reserv2ndPPPerc == 0>${uiLabelMap.ProductReservSecond} <#else> ${uiLabelMap.ProductReservThird} </#if> ${uiLabelMap.CommonUntil} ${product.reservMaxPersons!1}, ${uiLabelMap.ProductEach}: <@ofbizCurrency amount=product.reservNthPPPerc*price.price/100 isoCode=price.currencyUsed /></span></#if>
-                <#if (!product.reserv2ndPPPerc?exists || product.reserv2ndPPPerc == 0) && (!product.reservNthPPPerc?exists || product.reservNthPPPerc == 0)><br />${uiLabelMap.ProductMaximum} ${product.reservMaxPersons!1} ${uiLabelMap.ProductPersons}.</#if>
+                ${uiLabelMap.OrderYourPrice}: <#if "Y" = product.isVirtual!> ${uiLabelMap.CommonFrom} </#if><span class="${priceStyle}"><@ofbizCurrency amount=price.price isoCode=price.currencyUsed /></span>
+                 <#if product.productTypeId! == "ASSET_USAGE" || product.productTypeId! == "ASSET_USAGE_OUT_IN">
+                <#if product.reserv2ndPPPerc?? && product.reserv2ndPPPerc != 0><br /><span class="${priceStyle}">${uiLabelMap.ProductReserv2ndPPPerc}<#if !product.reservNthPPPerc?? || product.reservNthPPPerc == 0>${uiLabelMap.CommonUntil} ${product.reservMaxPersons!1}</#if> <@ofbizCurrency amount=product.reserv2ndPPPerc*price.price/100 isoCode=price.currencyUsed /></span></#if>
+                <#if product.reservNthPPPerc?? &&product.reservNthPPPerc != 0><br /><span class="${priceStyle}">${uiLabelMap.ProductReservNthPPPerc} <#if !product.reserv2ndPPPerc?? || product.reserv2ndPPPerc == 0>${uiLabelMap.ProductReservSecond} <#else> ${uiLabelMap.ProductReservThird} </#if> ${uiLabelMap.CommonUntil} ${product.reservMaxPersons!1}, ${uiLabelMap.ProductEach}: <@ofbizCurrency amount=product.reservNthPPPerc*price.price/100 isoCode=price.currencyUsed /></span></#if>
+                <#if (!product.reserv2ndPPPerc?? || product.reserv2ndPPPerc == 0) && (!product.reservNthPPPerc?? || product.reservNthPPPerc == 0)><br />${uiLabelMap.ProductMaximum} ${product.reservMaxPersons!1} ${uiLabelMap.ProductPersons}.</#if>
                  </#if>
              </strong>
           </div>
-          <#if price.listPrice?exists && price.price?exists && price.price &lt; price.listPrice>
+          <#if price.listPrice?? && price.price?? && price.price &lt; price.listPrice>
             <#assign priceSaved = price.listPrice - price.price />
             <#assign percentSaved = (priceSaved / price.listPrice) * 100 />
             <div>${uiLabelMap.OrderSave}: <span class="basePrice"><@ofbizCurrency amount=priceSaved isoCode=price.currencyUsed /> (${percentSaved?int}%)</span></div>
           </#if>
           <#-- show price details ("showPriceDetails" field can be set in the screen definition) -->
-          <#if (showPriceDetails?exists && showPriceDetails?default("N") == "Y")>
-              <#if price.orderItemPriceInfos?exists>
+          <#if (showPriceDetails?? && showPriceDetails?default("N") == "Y")>
+              <#if price.orderItemPriceInfos??>
                   <#list price.orderItemPriceInfos as orderItemPriceInfo>
-                      <div>${orderItemPriceInfo.description?if_exists}</div>
+                      <div>${orderItemPriceInfo.description!}</div>
                   </#list>
               </#if>
           </#if>
     
           <#-- Included quantities/pieces -->
-          <#if product.piecesIncluded?exists && product.piecesIncluded?long != 0>
+          <#if product.piecesIncluded?? && product.piecesIncluded?long != 0>
             <div>
               ${uiLabelMap.OrderPieces}: ${product.piecesIncluded}
             </div>
           </#if>
-          <#if (product.quantityIncluded?exists && product.quantityIncluded != 0) || product.quantityUomId?has_content>
-            <#assign quantityUom = product.getRelatedOne("QuantityUom", true)?if_exists />
+          <#if (product.quantityIncluded?? && product.quantityIncluded != 0) || product.quantityUomId?has_content>
+            <#assign quantityUom = product.getRelatedOne("QuantityUom", true)! />
             <div>
-              ${uiLabelMap.CommonQuantity}: ${product.quantityIncluded?if_exists} ${((quantityUom.abbreviation)?default(product.quantityUomId))?if_exists}
+              ${uiLabelMap.CommonQuantity}: ${product.quantityIncluded!} ${((quantityUom.abbreviation)?default(product.quantityUomId))!}
             </div>
           </#if>
     
-          <#if (product.weight?exists && product.weight != 0) || product.weightUomId?has_content>
-            <#assign weightUom = product.getRelatedOne("WeightUom", true)?if_exists />
+          <#if (product.weight?? && product.weight != 0) || product.weightUomId?has_content>
+            <#assign weightUom = product.getRelatedOne("WeightUom", true)! />
             <div>
-              ${uiLabelMap.CommonWeight}: ${product.weight?if_exists} ${((weightUom.abbreviation)?default(product.weightUomId))?if_exists}
+              ${uiLabelMap.CommonWeight}: ${product.weight!} ${((weightUom.abbreviation)?default(product.weightUomId))!}
             </div>
           </#if>
-          <#if (product.productHeight?exists && product.productHeight != 0) || product.heightUomId?has_content>
-            <#assign heightUom = product.getRelatedOne("HeightUom", true)?if_exists />
+          <#if (product.productHeight?? && product.productHeight != 0) || product.heightUomId?has_content>
+            <#assign heightUom = product.getRelatedOne("HeightUom", true)! />
             <div>
-              ${uiLabelMap.CommonHeight}: ${product.productHeight?if_exists} ${((heightUom.abbreviation)?default(product.heightUomId))?if_exists}
+              ${uiLabelMap.CommonHeight}: ${product.productHeight!} ${((heightUom.abbreviation)?default(product.heightUomId))!}
             </div>
           </#if>
-          <#if (product.productWidth?exists && product.productWidth != 0) || product.widthUomId?has_content>
-            <#assign widthUom = product.getRelatedOne("WidthUom", true)?if_exists />
+          <#if (product.productWidth?? && product.productWidth != 0) || product.widthUomId?has_content>
+            <#assign widthUom = product.getRelatedOne("WidthUom", true)! />
             <div>
-              ${uiLabelMap.CommonWidth}: ${product.productWidth?if_exists} ${((widthUom.abbreviation)?default(product.widthUomId))?if_exists}
+              ${uiLabelMap.CommonWidth}: ${product.productWidth!} ${((widthUom.abbreviation)?default(product.widthUomId))!}
             </div>
           </#if>
-          <#if (product.productDepth?exists && product.productDepth != 0) || product.depthUomId?has_content>
-            <#assign depthUom = product.getRelatedOne("DepthUom", true)?if_exists />
+          <#if (product.productDepth?? && product.productDepth != 0) || product.depthUomId?has_content>
+            <#assign depthUom = product.getRelatedOne("DepthUom", true)! />
             <div>
-              ${uiLabelMap.CommonDepth}: ${product.productDepth?if_exists} ${((depthUom.abbreviation)?default(product.depthUomId))?if_exists}
+              ${uiLabelMap.CommonDepth}: ${product.productDepth!} ${((depthUom.abbreviation)?default(product.depthUomId))!}
             </div>
           </#if>
     
-          <#if daysToShip?exists>
+          <#if daysToShip??>
             <div><strong>${uiLabelMap.ProductUsuallyShipsIn} ${daysToShip} ${uiLabelMap.CommonDays}!</strong></div>
           </#if>
     
           <#-- show tell a friend details only in ecommerce application -->
           <div>&nbsp;</div>
           <div>
-              <a href="javascript:popUpSmall('<@ofbizUrl>tellafriend?productId=${product.productId}<#if categoryId?exists>&categoryId=${categoryId}/</#...@ofbizUrl>','tellafriend');" class="buttontext">${uiLabelMap.CommonTellAFriend}</a>
+              <a href="javascript:popUpSmall('<@ofbizUrl>tellafriend?productId=${product.productId}<#if categoryId??>&categoryId=${categoryId}/</#...@ofbizUrl>','tellafriend');" class="buttontext">${uiLabelMap.CommonTellAFriend}</a>
           </div>
     
-          <#if disFeatureList?exists && 0 &lt; disFeatureList.size()>
+          <#if disFeatureList?? && 0 &lt; disFeatureList.size()>
           <p>&nbsp;</p>
             <#list disFeatureList as currentFeature>
                 <#assign disFeatureType = currentFeature.getRelatedOne("ProductFeatureType", true) />
                 <div>
-                    <#if disFeatureType.description?exists>${disFeatureType.get("description", locale)}<#else>${currentFeature.productFeatureTypeId}</#if>:&nbsp;${currentFeature.description}
+                    <#if disFeatureType.description??>${disFeatureType.get("description", locale)}<#else>${currentFeature.productFeatureTypeId}</#if>:&nbsp;${currentFeature.description}
                 </div>
             </#list>
                 <div>&nbsp;</div>
@@ -557,15 +557,15 @@ $(function(){
                 ${uiLabelMap.CommonComment}&nbsp;<input type="text" name="${orderItemAttr}comment"/>
             </#if>
             <#-- Variant Selection -->
-            <#if product.isVirtual?if_exists?upper_case == "Y">
-              <#if product.virtualVariantMethodEnum?if_exists == "VV_FEATURETREE" && featureLists?has_content>
+            <#if product.isVirtual!?upper_case == "Y">
+              <#if product.virtualVariantMethodEnum! == "VV_FEATURETREE" && featureLists?has_content>
                 <#list featureLists as featureList>
                     <#list featureList as feature>
                         <#if feature_index == 0>
                             <div>${feature.description}: <select id="FT${feature.productFeatureTypeId}" name="FT${feature.productFeatureTypeId}" onchange="javascript:checkRadioButton();">
                             <option value="select" selected="selected">${uiLabelMap.EcommerceSelectOption}</option>
                         <#else>
-                            <option value="${feature.productFeatureId}">${feature.description} <#if feature.price?exists>(+ <@ofbizCurrency amount=feature.price?string isoCode=feature.currencyUomId />)</#if></option>
+                            <option value="${feature.productFeatureId}">${feature.description} <#if feature.price??>(+ <@ofbizCurrency amount=feature.price?string isoCode=feature.currencyUomId />)</#if></option>
                         </#if>
                     </#list>
                     </select>
@@ -585,8 +585,8 @@ $(function(){
                   &nbsp;
                 </div>
               </#if>
-              <#if !product.virtualVariantMethodEnum?exists || product.virtualVariantMethodEnum == "VV_VARIANTTREE">
-               <#if variantTree?exists && (variantTree.size() &gt; 0)>
+              <#if !product.virtualVariantMethodEnum?? || product.virtualVariantMethodEnum == "VV_VARIANTTREE">
+               <#if variantTree?? && (variantTree.size() &gt; 0)>
                 <#list featureSet as currentType>
                   <div>
                     <select name="FT${currentType}" onchange="javascript:getList(this.name, (this.selectedIndex-1), 1);">
@@ -621,19 +621,19 @@ $(function(){
                   <strong><div id="variant_price_display"> </div></strong>
                 </div>
               </#if>
-              <#if (availableInventory?exists) && (availableInventory <= 0)>
+              <#if (availableInventory??) && (availableInventory <= 0)>
                 <#assign inStock = false />
               </#if>
             </#if>
             <#-- check to see if introductionDate hasnt passed yet -->
-            <#if product.introductionDate?exists && nowTimestamp.before(product.introductionDate)>
+            <#if product.introductionDate?? && nowTimestamp.before(product.introductionDate)>
             <p>&nbsp;</p>
               <div style="color: red;">${uiLabelMap.ProductProductNotYetMadeAvailable}.</div>
             <#-- check to see if salesDiscontinuationDate has passed -->
-            <#elseif product.salesDiscontinuationDate?exists && nowTimestamp.after(product.salesDiscontinuationDate)>
+            <#elseif product.salesDiscontinuationDate?? && nowTimestamp.after(product.salesDiscontinuationDate)>
               <div style="color: red;">${uiLabelMap.ProductProductNoLongerAvailable}.</div>
             <#-- check to see if the product requires inventory check and has inventory -->
-            <#elseif product.virtualVariantMethodEnum?if_exists != "VV_FEATURETREE">
+            <#elseif product.virtualVariantMethodEnum! != "VV_FEATURETREE">
               <#if inStock>
                 <#if product.requireAmount?default("N") == "Y">
                   <#assign hiddenStyle = "visible" />
@@ -644,7 +644,7 @@ $(function(){
                   <span style="white-space: nowrap;"><strong>${uiLabelMap.CommonAmount}:</strong></span>&nbsp;
                   <input type="text" size="5" name="add_amount" value=""/>
                 </div>
-                <#if product.productTypeId?if_exists == "ASSET_USAGE" || product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
+                <#if product.productTypeId! == "ASSET_USAGE" || product.productTypeId! == "ASSET_USAGE_OUT_IN">
                   <div>
                     <label>Start Date(yyyy-mm-dd)</label><@htmlTemplate.renderDateTimeField event="" action="" name="reservStart" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${startDate}" size="25" maxlength="30" id="reservStart1" dateType="date" shortDateInput=true timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                   </div>
@@ -660,28 +660,28 @@ $(function(){
                   <@showUnavailableVarients/>
                 </#if>
                 <#else>
-                  <#if productStore?exists>
-                    <#if productStore.requireInventory?exists && productStore.requireInventory == "N">
+                  <#if productStore??>
+                    <#if productStore.requireInventory?? && productStore.requireInventory == "N">
                       <span><input name="quantity" id="quantity" value="1" size="4" maxLength="4" type="text" <#if product.isVirtual!?upper_case == "Y">disabled="disabled"</#if> /></span><a href="javascript:addItem()" id="addToCart" name="addToCart" class="buttontext">${uiLabelMap.OrderAddToCart}</a>
                       <@showUnavailableVarients/>
                     <#else>
                       <span><input name="quantity" id="quantity" value="1" size="4" maxLength="4" type="text" disabled="disabled" /></span><a href="javascript:void(0);" disabled="disabled" class="buttontext">${uiLabelMap.OrderAddToCart}</a><br />
-                      <span>${uiLabelMap.ProductItemOutOfStock}<#if product.inventoryMessage?exists>&mdash; ${product.inventoryMessage}</#if></span>
+                      <span>${uiLabelMap.ProductItemOutOfStock}<#if product.inventoryMessage??>&mdash; ${product.inventoryMessage}</#if></span>
                     </#if>
                   </#if>
               </#if>
             </#if>
-            <#if variantPriceList?exists>
+            <#if variantPriceList??>
               <#list variantPriceList as vpricing>
-                <#assign variantName = vpricing.get("variantName")?if_exists>
-                <#assign secondVariantName = vpricing.get("secondVariantName")?if_exists>
+                <#assign variantName = vpricing.get("variantName")!>
+                <#assign secondVariantName = vpricing.get("secondVariantName")!>
                 <#assign minimumQuantity = vpricing.get("minimumQuantity")>
                 <#if minimumQuantity &gt; 0>
                   <div>minimum order quantity for ${secondVariantName!} ${variantName!} is ${minimumQuantity!}</div>
                 </#if>
               </#list>
-            <#elseif minimumQuantity?exists && minimumQuantity?has_content && minimumQuantity &gt; 0>
-               <div>minimum order quantity for ${productContentWrapper.get("PRODUCT_NAME")?if_exists} is ${minimumQuantity!}</div>
+            <#elseif minimumQuantity?? && minimumQuantity?has_content && minimumQuantity &gt; 0>
+               <div>minimum order quantity for ${productContentWrapper.get("PRODUCT_NAME")!} is ${minimumQuantity!}</div>
             </#if>
             </fieldset>
           </form>
@@ -689,7 +689,7 @@ $(function(){
         <div>
           <#if sessionAttributes.userLogin?has_content && sessionAttributes.userLogin.userLoginId != "anonymous">
             <hr />
-            <form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#...@ofbizUrl>">
+            <form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList<#if requestAttributes._CURRENT_VIEW_??>/${requestAttributes._CURRENT_VIEW_}</#...@ofbizUrl>">
               <fieldset>
               <input type="hidden" name="productId" value="${product.productId}" />
               <input type="hidden" name="product_id" value="${product.productId}" />
@@ -706,9 +706,9 @@ $(function(){
               </select>
               &nbsp;&nbsp;
               <#--assign nowDate = Static["org.ofbiz.base.util.UtilDateTime"].nowDateString("yyyy-MM-dd")-->
-              <#if product.productTypeId?if_exists == "ASSET_USAGE">
+              <#if product.productTypeId! == "ASSET_USAGE">
                   &nbsp;${uiLabelMap.CommonStartDate} (yyyy-mm-dd)<@htmlTemplate.renderDateTimeField name="reservStartStr" event="" action="" value="${startDate}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="15" maxlength="30" id="reservStartStr" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>&nbsp;Number of&nbsp;days&nbsp;&nbsp;<input type="text" size="4" name="reservLength" />&nbsp;<br/>Number of&nbsp;persons&nbsp;&nbsp;<input type="text" size="4" name="reservPersons" value="1" />&nbsp;&nbsp;Qty&nbsp;&nbsp;<input type="text" size="5" name="quantity" value="1" />
-              <#elseif product.productTypeId?if_exists == "ASSET_USAGE_OUT_IN">
+              <#elseif product.productTypeId! == "ASSET_USAGE_OUT_IN">
                 &nbsp;${uiLabelMap.CommonStartDate} (yyyy-mm-dd)&nbsp;&nbsp;&nbsp;<@htmlTemplate.renderDateTimeField name="reservStartStr" event="" action="" value="${startDate}" className="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" size="15" maxlength="30" id="reservStartStr" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>&nbsp;&nbsp;Number of&nbsp;days&nbsp;&nbsp;<input type="text" size="4" name="reservLength" /><input type="hidden" size="4" name="reservPersons" value="1" /><br/>
                 Qty&nbsp;<input type="text" size="5" name="quantity" value="1" />
               <#else>
@@ -724,12 +724,12 @@ $(function(){
           </#if>
           </div>
           <#-- Prefill first select box (virtual products only) -->
-          <#if variantTree?exists && 0 &lt; variantTree.size()>
+          <#if variantTree?? && 0 &lt; variantTree.size()>
             <script type="text/javascript">eval("list" + "${featureOrderFirst}" + "()");</script>
           </#if>
     
           <#-- Swatches (virtual products only) -->
-          <#if variantSample?exists && 0 &lt; variantSample.size()>
+          <#if variantSample?? && 0 &lt; variantSample.size()>
             <#assign imageKeys = variantSample.keySet() />
             <#assign imageMap = variantSample />
             <p>&nbsp;</p>
@@ -738,15 +738,15 @@ $(function(){
                 <#list imageKeys as key>
                   <#assign swatchProduct = imageMap.get(key) />
                   <#if swatchProduct?has_content && indexer &lt; maxIndex>
-                    <#assign imageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(swatchProduct, "SMALL_IMAGE_URL", request)?if_exists />
+                    <#assign imageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(swatchProduct, "SMALL_IMAGE_URL", request)! />
                     <#if !imageUrl?string?has_content>
-                      <#assign imageUrl = productContentWrapper.get("SMALL_IMAGE_URL")?if_exists />
+                      <#assign imageUrl = productContentWrapper.get("SMALL_IMAGE_URL")! />
                     </#if>
                     <#if !imageUrl?string?has_content>
                       <#assign imageUrl = "/images/defaultImage.jpg" />
                     </#if>
                       <a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);" class="linktext">${key}</a>
-                      <a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);"><img src="<@o...@ofbizContentUrl>" class="cssImgSmall" alt="" /></a>
+                      <a href="javascript:getList('FT${featureOrderFirst}','${indexer}',1);"><img src="<@o...@ofbizContentUrl>" class="cssImgSmall" alt="" /></a>
                       <br />
                   </#if>
                   <#assign indexer = indexer + 1 />
@@ -761,15 +761,15 @@ $(function(){
         <div id="download-files">
           <div>${uiLabelMap.OrderDownloadFilesTitle}:</div>
           <#list downloadProductContentAndInfoList as downloadProductContentAndInfo>
-            <div>${downloadProductContentAndInfo.contentName?if_exists}<#if downloadProductContentAndInfo.description?has_content> - ${downloadProductContentAndInfo.description}</#if></div>
+            <div>${downloadProductContentAndInfo.contentName!}<#if downloadProductContentAndInfo.description?has_content> - ${downloadProductContentAndInfo.description}</#if></div>
           </#list>
         </div>
       </#if>
     
       <#-- Long description of product -->
       <div id="long-description">
-          <div>${productContentWrapper.get("LONG_DESCRIPTION")?if_exists}</div>
-          <div>${productContentWrapper.get("WARNINGS")?if_exists}</div>
+          <div>${productContentWrapper.get("LONG_DESCRIPTION")!}</div>
+          <div>${productContentWrapper.get("WARNINGS")!}</div>
       </div>
     
       <#-- Any attributes/etc may go here -->
@@ -777,28 +777,28 @@ $(function(){
       <#-- Product Reviews -->
         <div id="reviews">
           <div>${uiLabelMap.OrderCustomerReviews}:</div>
-          <#if averageRating?exists && (averageRating &gt; 0) && numRatings?exists && (numRatings &gt; 1)>
-              <div>${uiLabelMap.OrderAverageRating}: ${averageRating} <#if numRatings?exists>(${uiLabelMap.CommonFrom} ${numRatings} ${uiLabelMap.OrderRatings})</#if></div>
+          <#if averageRating?? && (averageRating &gt; 0) && numRatings?? && (numRatings &gt; 1)>
+              <div>${uiLabelMap.OrderAverageRating}: ${averageRating} <#if numRatings??>(${uiLabelMap.CommonFrom} ${numRatings} ${uiLabelMap.OrderRatings})</#if></div>
           </#if>
     <hr />
           <#if productReviews?has_content>
             <#list productReviews as productReview>
               <#assign postedUserLogin = productReview.getRelatedOne("UserLogin", false) />
-              <#assign postedPerson = postedUserLogin.getRelatedOne("Person", false)?if_exists />
+              <#assign postedPerson = postedUserLogin.getRelatedOne("Person", false)! />
                         <div><strong>${uiLabelMap.CommonBy}: </strong><#if productReview.postedAnonymous?default("N") == "Y"> ${uiLabelMap.OrderAnonymous}<#else> ${postedPerson.firstName} ${postedPerson.lastName}&nbsp;</#if></div>
-                        <div><strong>${uiLabelMap.CommonAt}: </strong>${productReview.postedDateTime?if_exists}&nbsp;</div>
-                        <div><strong>${uiLabelMap.OrderRanking}: </strong>${productReview.productRating?if_exists?string}</div>
+                        <div><strong>${uiLabelMap.CommonAt}: </strong>${productReview.postedDateTime!}&nbsp;</div>
+                        <div><strong>${uiLabelMap.OrderRanking}: </strong>${productReview.productRating!?string}</div>
                         <div>&nbsp;</div>
-                        <div>${productReview.productReview?if_exists}</div>
+                        <div>${productReview.productReview!}</div>
                     <hr />
             </#list>
             <div>
-                <a href="<@o...@ofbizUrl>" class="linktext">${uiLabelMap.ProductReviewThisProduct}!</a>
+                <a href="<@o...@ofbizUrl>" class="linktext">${uiLabelMap.ProductReviewThisProduct}!</a>
             </div>
           <#else>
             <div>${uiLabelMap.ProductProductNotReviewedYet}.</div>
             <div>
-                <a href="<@o...@ofbizUrl>" class="linktext">${uiLabelMap.ProductBeTheFirstToReviewThisProduct}</a>
+                <a href="<@o...@ofbizUrl>" class="linktext">${uiLabelMap.ProductBeTheFirstToReviewThisProduct}</a>
             </div>
         </div>
       </#if>
@@ -810,7 +810,7 @@ $(function(){
         <#assign targetRequest = targetRequestName />
       </#if>
       <#if assocProducts?has_content>
-        <h2>${beforeName?if_exists}<#if showName == "Y">${productContentWrapper.get("PRODUCT_NAME")?if_exists}</#if>${afterName?if_exists}</h2>
+        <h2>${beforeName!}<#if showName == "Y">${productContentWrapper.get("PRODUCT_NAME")!}</#if>${afterName!}</h2>
     
         <div class="productsummary-container">
         <#list assocProducts as productAssoc>
@@ -820,7 +820,7 @@ $(function(){
                 <#assign assocProductId = productAssoc.productId />
             </#if>
             <div>
-              <a href="<@ofbizUrl>${targetRequest}/<#if categoryId?exists>~category_id=${categoryId}/</#...@ofbizUrl>" class="buttontext">
+              <a href="<@ofbizUrl>${targetRequest}/<#if categoryId??>~category_id=${categoryId}/</#...@ofbizUrl>" class="buttontext">
                 ${assocProductId}
               </a>
             <#if productAssoc.reason?has_content>
@@ -877,14 +877,14 @@ $(function(){
     </#if>
     <div class="product-tags">
         <p class="titleProductTags"><h3>${uiLabelMap.EcommerceProductTags}</h3></p>
-        <#if productTags?exists>
+        <#if productTags??>
             <p class="titleAddTags"><strong>${uiLabelMap.EcommerceProductTagsDetail}:</strong></p>
             <p>
                 <ul>
                     <li>
                     <#assign no = 0 />
                     <#list productTags?keys?sort as productTag>
-                        <#assign tagValue = productTags.get(productTag)?if_exists/>
+                        <#assign tagValue = productTags.get(productTag)!/>
                         <#if tagValue?has_content>
                               <span><a href="javascript:void(0);" id="productTag_${productTag}">${productTag}</a> (${tagValue}) <#if no < (productTags.size() - 1)> | </#if></span>
                               <#assign no = no + 1 />
@@ -898,7 +898,7 @@ $(function(){
         <p class="titleAddTags"><strong>${uiLabelMap.EcommerceAddYourTags}:</strong></p>
         <p>
             <form method="post" action="<@o...@ofbizUrl>" name="addProductTags">
-                <input type="hidden" name="productId" value="${product.productId?if_exists}"/>
+                <input type="hidden" name="productId" value="${product.productId!}"/>
                 <input class="inputProductTags" type="text" value="" name="productTags" id="productTags" size="40"/>
                 <input class="buttonProductTags" type="submit" value="${uiLabelMap.EcommerceAddTags}" name="addTag"/>
             </form>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/productreview.ftl Mon Aug 18 07:42:27 2014
@@ -17,7 +17,7 @@ specific language governing permissions 
 under the License.
 -->
 
-<#if requestParameters.product_id?exists>
+<#if requestParameters.product_id??>
   <form id="reviewProduct" method="post" action="<@o...@ofbizUrl>">
     <fieldset class="inline">
       <input type="hidden" name="productStoreId" value="${productStore.productStoreId}" />

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/sidedeepcategory.ftl Mon Aug 18 07:42:27 2014
@@ -17,22 +17,22 @@ specific language governing permissions 
 under the License.
 -->
 <#-- variable setup and worker calls -->
-<#if (requestAttributes.topLevelList)?exists><#assign topLevelList = requestAttributes.topLevelList></#if>
-<#if (requestAttributes.curCategoryId)?exists><#assign curCategoryId = requestAttributes.curCategoryId></#if>
+<#if (requestAttributes.topLevelList)??><#assign topLevelList = requestAttributes.topLevelList></#if>
+<#if (requestAttributes.curCategoryId)??><#assign curCategoryId = requestAttributes.curCategoryId></#if>
 
 <#-- looping macro -->
 <#macro categoryList parentCategory category wrapInBox>
-  <#if catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")?exists>
+  <#if catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")??>
     <#assign categoryName = catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")>
   <#else>
-    <#assign categoryName = category.categoryName?if_exists>
+    <#assign categoryName = category.categoryName!>
   </#if>
-  <#if catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("DESCRIPTION")?exists>
+  <#if catContentWrappers?? && catContentWrappers[category.productCategoryId]?? && catContentWrappers[category.productCategoryId].get("DESCRIPTION")??>
     <#assign categoryDescription = catContentWrappers[category.productCategoryId].get("DESCRIPTION")>
   <#else>
-    <#assign categoryDescription = category.description?if_exists>
+    <#assign categoryDescription = category.description!>
   </#if>
-  <#if curCategoryId?exists && curCategoryId == category.productCategoryId>
+  <#if curCategoryId?? && curCategoryId == category.productCategoryId>
     <#assign browseCategoryButtonClass = "browsecategorybuttondisabled">
   <#else>
     <#assign browseCategoryButtonClass = "browsecategorybutton">
@@ -56,9 +56,9 @@ under the License.
           </#if>
           <a href="<@ofbizCatalogAltUrl productCategoryId=category.productCategoryId previousCategoryId=parentCategoryId/>" class="${browseCategoryButtonClass}"><#if categoryName?has_content>${categoryName}<#else>${categoryDescription?default("")}</#if></a>
 
-  <#if (Static["org.ofbiz.product.category.CategoryWorker"].checkTrailItem(request, category.getString("productCategoryId"))) || (curCategoryId?exists && curCategoryId == category.productCategoryId)>
+  <#if (Static["org.ofbiz.product.category.CategoryWorker"].checkTrailItem(request, category.getString("productCategoryId"))) || (curCategoryId?? && curCategoryId == category.productCategoryId)>
     <#local subCatList = Static["org.ofbiz.product.category.CategoryWorker"].getRelatedCategoriesRet(request, "subCatList", category.getString("productCategoryId"), true)>
-    <#if subCatList?exists>
+    <#if subCatList??>
       <#list subCatList as subCat>
         <ul class="browsecategorylist">
           <@categoryList parentCategory=category category=subCat wrapInBox="N"/>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/tellafriend.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/tellafriend.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/tellafriend.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/catalog/tellafriend.ftl Mon Aug 18 07:42:27 2014
@@ -23,13 +23,13 @@ under the License.
 </head>
 <body class="ecbody">
     <form name="tellafriend" action="<@o...@ofbizUrl>" method="post">
-        <#if (requestParameters.productId)?exists || (requestParameters.productId)?exists>
+        <#if (requestParameters.productId)?? || (requestParameters.productId)??>
             <input type="hidden" name="pageUrl" value="<@ofbizCatalogAltUrl fullPath="true" secure="false" productCategoryId=requestParameters.categoryId!"" productId=requestParameters.productId!""/>" />
         <#else>
             <#assign cancel = "Y">
         </#if>
-        <input type="hidden" name="webSiteId" value="${context.webSiteId?if_exists}">
-      <#if !cancel?exists>
+        <input type="hidden" name="webSiteId" value="${context.webSiteId!}">
+      <#if !cancel??>
         <table>
           <tr>
             <td>${uiLabelMap.CommonYouremail}:</td>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/bloglib.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/bloglib.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/bloglib.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/bloglib.ftl Mon Aug 18 07:42:27 2014
@@ -34,15 +34,15 @@ under the License.
          <td >
             ${indent}
             <#if content.contentTypeId == "WEB_SITE_PUB_PT" >
-              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonBackTo}</a> &nbsp;${content.contentName?if_exists}
+              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonBackTo}</a> &nbsp;${content.contentName!}
             <#else>
-              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonBackTo}</a> &nbsp;${content.contentName?if_exists}
+              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonBackTo}</a> &nbsp;${content.contentName!}
             </#if>
             <#local indent = indent + "&nbsp;&nbsp;&nbsp;&nbsp;">
-            [${content.contentId?if_exists}]
+            [${content.contentId!}]
             <#if searchOn?has_content && searchOn?lower_case == "true">
                 &nbsp;
-              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonSearch}</a>
+              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonSearch}</a>
             </#if>
         </#if>
          </td>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/content_categories.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/content_categories.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/content_categories.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/content_categories.ftl Mon Aug 18 07:42:27 2014
@@ -19,8 +19,8 @@ under the License.
 <#assign contentRootId = "WebStoreCONTENT"/>
 
 <#-- variable setup and worker calls -->
-<#assign curCategoryId = requestAttributes.curCategoryId?if_exists>
-<#assign forumTrailCsv=requestParameters.forumTrailCsv?if_exists/>
+<#assign curCategoryId = requestAttributes.curCategoryId!>
+<#assign forumTrailCsv=requestParameters.forumTrailCsv!/>
 <#assign forumTrail=[]/>
 <#assign firstContentId=""/>
 <#if forumTrailCsv?has_content>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/content_topic.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/content_topic.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/content_topic.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/content_topic.ftl Mon Aug 18 07:42:27 2014
@@ -19,8 +19,8 @@ under the License.
 <#assign contentRootId = "WebStoreCONTENT"/>
 
 <#-- variable setup and worker calls -->
-<#assign curCategoryId = requestAttributes.curCategoryId?if_exists>
-<#assign forumTrailCsv=requestParameters.forumTrailCsv?if_exists/>
+<#assign curCategoryId = requestAttributes.curCategoryId!>
+<#assign forumTrailCsv=requestParameters.forumTrailCsv!/>
 <#assign forumTrail=[]/>
 <#assign firstContentId=""/>
 <#if forumTrailCsv?has_content>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/factoids.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/factoids.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/factoids.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/factoids.ftl Mon Aug 18 07:42:27 2014
@@ -19,8 +19,8 @@ under the License.
 <#assign factoidRootId = "WebStoreFACTOID"/>
 
 <#-- variable setup and worker calls -->
-<#assign curCategoryId = requestAttributes.curCategoryId?if_exists>
-<#assign factoidTrailCsv = requestParameters.factoidTrailCsv?if_exists/>
+<#assign curCategoryId = requestAttributes.curCategoryId!>
+<#assign factoidTrailCsv = requestParameters.factoidTrailCsv!/>
 <#assign factoidTrail=[]/>
 <#assign firstContentId=""/>
 <#if factoidTrailCsv?has_content>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/minipoll.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/minipoll.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/minipoll.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/minipoll.ftl Mon Aug 18 07:42:27 2014
@@ -17,21 +17,21 @@ specific language governing permissions 
 under the License.
 -->
 
-<#assign groupName = page.randomSurveyGroup?if_exists>
+<#assign groupName = page.randomSurveyGroup!>
 <#if groupName?has_content>
-  <#assign randomSurvey = Static["org.ofbiz.product.store.ProductStoreWorker"].getRandomSurveyWrapper(request, "testSurveyGroup")?if_exists>
+  <#assign randomSurvey = Static["org.ofbiz.product.store.ProductStoreWorker"].getRandomSurveyWrapper(request, "testSurveyGroup")!>
 </#if>
 
 <#if randomSurvey?has_content>
   <div id="minipoll" class="screenlet">
     <div class="screenlet-title-bar">
       <ul>
-        <li class="h3">${randomSurvey.getSurveyName()?if_exists}</li>
+        <li class="h3">${randomSurvey.getSurveyName()!}</li>
       </ul>
       <br class="clear"/>
     </div>
     <div class="screenlet-body">
-      <form method="post" action="<@ofbizUrl>minipoll<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#...@ofbizUrl>" style="margin: 0;">
+      <form method="post" action="<@ofbizUrl>minipoll<#if requestAttributes._CURRENT_VIEW_??>/${requestAttributes._CURRENT_VIEW_}</#...@ofbizUrl>" style="margin: 0;">
         ${randomSurvey.render()}
       </form>
     </div>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/searchContent.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/searchContent.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/searchContent.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/searchContent.ftl Mon Aug 18 07:42:27 2014
@@ -53,7 +53,7 @@ under the License.
       <#assign productFeatures = productFeaturesByTypeMap[productFeatureTypeId]>
       <tr>
         <td align="right" valign="middle">
-          <div>${(productFeatureType.get("description",locale))?if_exists}:</div>
+          <div>${(productFeatureType.get("description",locale))!}:</div>
         </td>
         <td valign="middle">
           <div>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/showcontenttree.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/showcontenttree.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/showcontenttree.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/showcontenttree.ftl Mon Aug 18 07:42:27 2014
@@ -18,26 +18,26 @@ under the License.
 -->
 
 <#include "bloglib.ftl" />
-<#assign siteId = requestParameters.contentId?if_exists />
+<#assign siteId = requestParameters.contentId! />
 
 <@renderAncestryPath trail=ancestorList?default([]) endIndexOffset=1 siteId=siteId searchOn="true"/>
 
 <#if ancestorList?has_content && (0 < ancestorList?size) >
     <#assign lastContent=ancestorList?last />
     <h1>[${lastContent.contentId}] ${lastContent.description}
-              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonSearch}</a>
+              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonSearch}</a>
     </h1>
 </#if>
 
 <#assign viewIdx = "" />
 <#if requestParameters.viewIndex?has_content>
-<#assign viewIdx = requestParameters.viewIndex?if_exists />
+<#assign viewIdx = requestParameters.viewIndex! />
 </#if>
 <#assign viewSz = "" />
 <#if requestParameters.viewSize?has_content>
-<#assign viewSz = requestParameters.viewSize?if_exists />
+<#assign viewSz = requestParameters.viewSize! />
 </#if>
-<#assign nodeTrailCsv=requestParameters.nodeTrailCsv?if_exists/>
+<#assign nodeTrailCsv=requestParameters.nodeTrailCsv!/>
 <#assign dummy=Static["org.ofbiz.base.util.Debug"].logInfo("in showcontenttree, nodeTrailCsv(0):" + nodeTrailCsv, "")/>
 <#assign nodeTrail=[]/>
 <#assign firstContentId=""/>
@@ -60,14 +60,14 @@ under the License.
 <#macro renderCategoryBrowse contentId="" indentIndex=0 nodeTrail=[] viewSz=9999 viewIdx=0>
     <!-- start of renderCategoryBrowse for contentId=${contentId} -->
 
-        <#local contentIdx = contentId?if_exists />
-        <#if (!contentIdx?exists || contentIdx?length == 0)>
-            <#local contentIdx = page.contentIdx?if_exists />
-            <#if (!contentIdx?exists || contentIdx?length == 0)>
+        <#local contentIdx = contentId! />
+        <#if (!contentIdx?? || contentIdx?length == 0)>
+            <#local contentIdx = page.contentIdx! />
+            <#if (!contentIdx?? || contentIdx?length == 0)>
             </#if>
         </#if>
 
-        <#local thisContentId=nodeTrail[indentIndex]?if_exists/>
+        <#local thisContentId=nodeTrail[indentIndex]!/>
 
         <#local thisNodeTrailCsv = "" />
         <#local listUpper = (indentIndex - 1) />
@@ -78,7 +78,7 @@ under the License.
             <#if thisNodeTrailCsv?has_content>
                 <#local thisNodeTrailCsv = thisNodeTrailCsv + ","/>
             </#if>
-            <#if nodeTrail[idx]?exists>
+            <#if nodeTrail[idx]??>
               <#local thisNodeTrailCsv = thisNodeTrailCsv + nodeTrail[idx]>
             </#if>
         </#list>
@@ -89,7 +89,7 @@ under the License.
         <@loopSubContent contentId=contentIdx viewIndex=viewIdx viewSize=viewSz contentAssocTypeId="PUBLISH_LINK" returnAfterPickWhen="1==1">
             <#assign dummy=Static["org.ofbiz.base.util.Debug"].logInfo("in showcontenttree, nodeTrailCsv(1):" + nodeTrailCsv, "")/>
             <#local thisCsv=thisNodeTrailCsv + "," + subContentId />
-            <a class="tabButton" href="<@o...@ofbizUrl>">${uiLabelMap.CommonView}</a>  ${content.description?if_exists}<br />
+            <a class="tabButton" href="<@o...@ofbizUrl>">${uiLabelMap.CommonView}</a>  ${content.description!}<br />
         </...@loopSubContent>
 
 
@@ -101,8 +101,8 @@ under the License.
             </#if>
             <#local thisCsv=thisNodeTrailCsv />
             <#local thisCsv=thisNodeTrailCsv + "," + subContentId />
-            <a class="tabButton" href="<@o...@ofbizUrl>" >${plusMinus}</a> &nbsp;${content.description?if_exists}
-            <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonSearch}</a> <br />
+            <a class="tabButton" href="<@o...@ofbizUrl>" >${plusMinus}</a> &nbsp;${content.description!}
+            <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonSearch}</a> <br />
             <#if thisContentId == subContentId>
                 <#assign catTrail = nodeTrail + [subContentId]/>
                 <div><@renderCategoryBrowse contentId=subContentId indentIndex=(indentIndex + 1) nodeTrail=catTrail viewSz=viewSz viewIdx=viewIdx /></div>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/viewcontent.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/viewcontent.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/viewcontent.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/content/viewcontent.ftl Mon Aug 18 07:42:27 2014
@@ -20,8 +20,8 @@ under the License.
 <div class="screenlet">
 <div style="margin:10px;">
 <#-- Do this so that we don't have to find the content twice (again in renderSubContent) -->
-<#assign subContentId=requestParameters.contentId?if_exists/>
-<#assign nodeTrailCsv=requestParameters.nodeTrailCsv?if_exists/>
+<#assign subContentId=requestParameters.contentId!/>
+<#assign nodeTrailCsv=requestParameters.nodeTrailCsv!/>
 <#-- <#assign dummy=Static["org.ofbiz.base.util.Debug"].logInfo("in viewcontent, nodeTrailCsv:" + nodeTrailCsv, "")/> -->
 <#if ancestorList?has_content && (0 < ancestorList?size) >
     <#assign lastContent=ancestorList?last />
@@ -58,7 +58,7 @@ under the License.
 </#if>
 <#assign dummy=Static["org.ofbiz.base.util.Debug"].logInfo("in viewcontent, subContent:" + subContent, "")/>
 <br />
-<h1>${uiLabelMap.EcommerceContentFor} [${subContentId}] ${subContent.contentName?if_exists} - ${subContent.description?if_exists}:</h1><br />
+<h1>${uiLabelMap.EcommerceContentFor} [${subContentId}] ${subContent.contentName!} - ${subContent.description!}:</h1><br />
 <table border="0" class="blogtext">
     <tr>
     <td width="40">&nbsp;</td>
@@ -70,7 +70,7 @@ under the License.
 <@wrapSubContentCache subContentId=subContentId wrapTemplateId="WRAP_VIEW" >
 </@wrapSubContentCache >
 <@checkPermission mode="equals" entityOperation="_CREATE" targetOperation="HAS_USER_ROLE" >
-    <a class="tabButton" href="<@o...@ofbizUrl>" >Respond</a>
+    <a class="tabButton" href="<@o...@ofbizUrl>" >Respond</a>
 </...@checkPermission>
 -->
 <br />
@@ -82,7 +82,7 @@ under the License.
       <#assign thisNodeTrailCsv = nodeTrailCsv />
       <tr>
         <td colspan="3" align="right">
-          <a class="tabButton" href="<@o...@ofbizUrl>" >${content.contentName?if_exists}</a>
+          <a class="tabButton" href="<@o...@ofbizUrl>" >${content.contentName!}</a>
         </td>
       </tr>
     </...@loopSubContent>
@@ -90,7 +90,7 @@ under the License.
 <hr />
 <#--
 <@checkPermission mode="not-equals" subContentId=subContentId targetOperation="CONTENT_CREATE|CONTENT_RESPOND" contentPurposeList="RESPONSE" >
-            ${permissionErrorMsg?if_exists}
+            ${permissionErrorMsg!}
 </...@checkPermission>
 -->
 
@@ -115,15 +115,15 @@ under the License.
          <td>
             ${indent}
             <#if content.contentTypeId == "WEB_SITE_PUB_PT" >
-              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonBackTo}</a> &nbsp;${content.contentName?if_exists}
+              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonBackTo}</a> &nbsp;${content.contentName!}
             <#else>
-              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonBackTo}</a> &nbsp;${content.contentName?if_exists}
+              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonBackTo}</a> &nbsp;${content.contentName!}
             </#if>
             <#local indent = indent + "&nbsp;&nbsp;&nbsp;&nbsp;">
-            [${content.contentId?if_exists}]
+            [${content.contentId!}]
             <#if searchOn?has_content && searchOn?lower_case == "true">
                 &nbsp;
-              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonSearch}</a>
+              <a class="tabButton" href="<@o...@ofbizUrl>" >${uiLabelMap.CommonSearch}</a>
             </#if>
         </#if>
          </td>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/customer/AnonContactus.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/customer/AnonContactus.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/customer/AnonContactus.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/customer/AnonContactus.ftl Mon Aug 18 07:42:27 2014
@@ -33,8 +33,8 @@ under the License.
     </script>
     <div class="screenlet-body">
         <form id="contactForm" method="post" action="<@o...@ofbizUrl>">
-            <input type="hidden" name="partyIdFrom" value="${(userLogin.partyId)?if_exists}" />
-            <input type="hidden" name="partyIdTo" value="${productStore.payToPartyId?if_exists}"/>
+            <input type="hidden" name="partyIdFrom" value="${(userLogin.partyId)!}" />
+            <input type="hidden" name="partyIdTo" value="${productStore.payToPartyId!}"/>
             <input type="hidden" name="contactMechTypeId" value="WEB_ADDRESS" />
             <input type="hidden" name="communicationEventTypeId" value="WEB_SITE_COMMUNICATI" />
             <input type="hidden" name="productStoreId" value="${productStore.productStoreId}" />
@@ -43,23 +43,23 @@ under the License.
                 <tbody>
                     <tr>
                        <td class="label">${uiLabelMap.EcommerceSubject}</td>
-                       <td><input type="text" name="subject" id="subject" class="required" value="${requestParameters.subject?if_exists}"/>*</td>
+                       <td><input type="text" name="subject" id="subject" class="required" value="${requestParameters.subject!}"/>*</td>
                     </tr>
                     <tr>
                        <td class="label">${uiLabelMap.CommonMessage}</td>
-                       <td><textarea name="content" id="message" class="required" cols="50" rows="5">${requestParameters.content?if_exists}</textarea>*</td>
+                       <td><textarea name="content" id="message" class="required" cols="50" rows="5">${requestParameters.content!}</textarea>*</td>
                     </tr>
                     <tr>
                        <td class="label">${uiLabelMap.FormFieldTitle_emailAddress}</td>
-                       <td><input type="text" name="emailAddress" id="emailAddress" class="required" value="${requestParameters.emailAddress?if_exists}"/>*</td>
+                       <td><input type="text" name="emailAddress" id="emailAddress" class="required" value="${requestParameters.emailAddress!}"/>*</td>
                     </tr>
                     <tr>
                        <td class="label">${uiLabelMap.PartyFirstName}</td>
-                       <td><input type="text" name="firstName" id="firstName" class="required" value="${requestParameters.firstName?if_exists}"/></td>
+                       <td><input type="text" name="firstName" id="firstName" class="required" value="${requestParameters.firstName!}"/></td>
                     </tr>
                     <tr>
                        <td class="label">${uiLabelMap.PartyLastName}</td>
-                       <td><input type="text" name="lastName" id="lastName" class="required" value="${requestParameters.lastName?if_exists}"/></td>
+                       <td><input type="text" name="lastName" id="lastName" class="required" value="${requestParameters.lastName!}"/></td>
                     </tr>
                     <tr>
                        <td class="label">${uiLabelMap.CommonCaptchaCode}</td>

Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/customer/FinAccountDetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/customer/FinAccountDetail.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/customer/FinAccountDetail.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ecommerce/webapp/ecommerce/customer/FinAccountDetail.ftl Mon Aug 18 07:42:27 2014
@@ -24,17 +24,17 @@ under the License.
   </tr>
   <tr>
       <td align="right"><div class="tableheadtext">Currency:</div></td>
-      <td><div>${(accountCurrencyUom.description)?if_exists} [${ownedFinAccount.currencyUomId?if_exists}]</div></td>
+      <td><div>${(accountCurrencyUom.description)!} [${ownedFinAccount.currencyUomId!}]</div></td>
   </tr>
   <tr>
       <td align="right"><div class="tableheadtext">Date Opened:</div></td>
-      <td><div>${ownedFinAccount.fromDate?if_exists}</div></td>
+      <td><div>${ownedFinAccount.fromDate!}</div></td>
   </tr>
   <tr>
       <td align="right"><div class="tableheadtext">Status:</div></td>
       <td><div>${(finAccountStatusItem.description)?default("Active")}</div></td>
   </tr>
-  <#if ownedFinAccount.replenishLevel?exists>
+  <#if ownedFinAccount.replenishLevel??>
   <tr>
       <td align="right"><div class="tableheadtext">Replenish Level:</div></td>
       <td><div>${ownedFinAccount.replenishLevel}</div></td>
@@ -58,11 +58,11 @@ under the License.
       <#assign displayAmount = -displayAmount/>
     </#if>
   <tr>
-    <td>${ownedFinAccountTrans.transactionDate?if_exists}</td>
+    <td>${ownedFinAccountTrans.transactionDate!}</td>
     <td>${ownedFinAccountTrans.finAccountTransId}</td>
-    <td><#if ownedFinAccountTrans.orderId?has_content>${ownedFinAccountTrans.orderId?if_exists}:${ownedFinAccountTrans.orderItemSeqId?if_exists}<#else>&nbsp;</#if></td>
-    <td><#if ownedFinAccountTrans.paymentId?has_content>${ownedFinAccountTrans.paymentId?if_exists}<#else>&nbsp;</#if></td>
-    <td>${finAccountTransType.description?default(ownedFinAccountTrans.finAccountTransTypeId)?if_exists}</td>
+    <td><#if ownedFinAccountTrans.orderId?has_content>${ownedFinAccountTrans.orderId!}:${ownedFinAccountTrans.orderItemSeqId!}<#else>&nbsp;</#if></td>
+    <td><#if ownedFinAccountTrans.paymentId?has_content>${ownedFinAccountTrans.paymentId!}<#else>&nbsp;</#if></td>
+    <td>${finAccountTransType.description?default(ownedFinAccountTrans.finAccountTransTypeId)!}</td>
     <td><@ofbizCurrency amount=displayAmount isoCode=ownedFinAccount.currencyUomId/></td>
   </tr>
   </#list>
@@ -90,9 +90,9 @@ under the License.
   </tr>
   <#list ownedFinAccountAuthList as ownedFinAccountAuth>
   <tr>
-    <td>${ownedFinAccountAuth.authorizationDate?if_exists}</td>
+    <td>${ownedFinAccountAuth.authorizationDate!}</td>
     <td>${ownedFinAccountAuth.finAccountAuthId}</td>
-    <td>${ownedFinAccountAuth.thruDate?if_exists}</td>
+    <td>${ownedFinAccountAuth.thruDate!}</td>
     <td><@ofbizCurrency amount=-ownedFinAccountAuth.amount isoCode=ownedFinAccount.currencyUomId/></td>
   </tr>
   </#list>