You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by as...@apache.org on 2014/08/16 10:40:32 UTC

svn commit: r1618313 [2/11] - in /ofbiz/trunk: specialpurpose/assetmaint/webapp/assetmaint/assetmaint/ specialpurpose/cmssite/template/cms/ specialpurpose/ebay/webapp/ebay/find/ specialpurpose/ebaystore/webapp/ebaystore/store/ specialpurpose/ecommerce/...

Modified: ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl (original)
+++ ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl Sat Aug 16 08:40:28 2014
@@ -196,14 +196,14 @@ under the License.
   <div class="screenlet-title-bar">
   <ul>
     <li class="h3">Items to export</li>
-    <li><a href="<@o...@ofbizUrl>?productStoreId=${productStoreId?if_exists}">Clear Listing</a></li>
-    <#if isExportValid?exists && isExportValid == "true">
-    <li><a href="<@o...@ofbizUrl>?productStoreId=${productStoreId?if_exists}">Export Products Listing</a></li>
+    <li><a href="<@o...@ofbizUrl>?productStoreId=${productStoreId!}">Clear Listing</a></li>
+    <#if isExportValid?? && isExportValid == "true">
+    <li><a href="<@o...@ofbizUrl>?productStoreId=${productStoreId!}">Export Products Listing</a></li>
     </#if>
   </ul><br class="clear"/></div>
   <div class="screenlet-body">
 <form id="ProductsExportToEbay" method="post" action="<@o...@ofbizUrl>" name="ProductsExportToEbay">
-    <input type="hidden" name="productStoreId" value="${productStoreId?if_exists}"/>
+    <input type="hidden" name="productStoreId" value="${productStoreId!}"/>
     <table class="basic-table"  cellspacing="0">
         <tr><td>
         <#if addItemObj?has_content>
@@ -214,9 +214,9 @@ under the License.
                        <#if contentList?has_content>
                            <#list contentList as content>
                                  <#if !isProductId?has_content>
-                                    <li <#if id == 1>class="selected" <#assign isProductId = content.product.productId?if_exists><#else>id="tabHeader${id}"</#if>><a href="javascript:document.getElementById('ProductsExportToEbay').action = '<@o...@ofbizUrl>?isProductId=${content.product.productId?if_exists}';document.getElementById('ProductsExportToEbay').submit();">${content.product.productName?if_exists}[${content.product.productId}]</a></li>
+                                    <li <#if id == 1>class="selected" <#assign isProductId = content.product.productId!><#else>id="tabHeader${id}"</#if>><a href="javascript:document.getElementById('ProductsExportToEbay').action = '<@o...@ofbizUrl>?isProductId=${content.product.productId!}';document.getElementById('ProductsExportToEbay').submit();">${content.product.productName!}[${content.product.productId}]</a></li>
                                  <#else>
-                                    <li <#if isProductId?exists && isProductId?if_exists == content.product.productId?if_exists >class="selected" <#assign isProductId = content.product.productId?if_exists><#else>id="tabHeader${id}"</#if>><a href="javascript:document.getElementById('ProductsExportToEbay').action = '<@o...@ofbizUrl>?isProductId=${content.product.productId?if_exists}';document.getElementById('ProductsExportToEbay').submit();">${content.product.productName?if_exists}[${content.product.productId}]</a></li>
+                                    <li <#if isProductId?? && isProductId! == content.product.productId! >class="selected" <#assign isProductId = content.product.productId!><#else>id="tabHeader${id}"</#if>><a href="javascript:document.getElementById('ProductsExportToEbay').action = '<@o...@ofbizUrl>?isProductId=${content.product.productId!}';document.getElementById('ProductsExportToEbay').submit();">${content.product.productName!}[${content.product.productId}]</a></li>
                                  </#if>
                                  <#assign id = id+1>
                            </#list>
@@ -224,37 +224,37 @@ under the License.
                     </ul>
                      <br class="clear"/>
                 </div>
-        <#assign addItemList = addItemObj.itemListing?if_exists>
+        <#assign addItemList = addItemObj.itemListing!>
         <#if addItemList?has_content>
             <#list addItemList as addItemObj>
-                 <#assign addItem = addItemObj.addItemCall?if_exists>
-                 <#assign isSaved = addItemObj.isSaved?if_exists>
-                 <#assign isAutoRelist = addItemObj.isAutoRelist?if_exists>
-                 <#assign requireEbayInventory = addItemObj.requireEbayInventory?if_exists>
-                 <#assign item = addItem.getItem()?if_exists>
-                 <#assign primaryCate = item.getPrimaryCategory()?if_exists>
-                 <#assign storeFront = item.getStorefront()?if_exists>
-                 <#if isProductId == item.getSKU()?if_exists>
-                     <input type="hidden" name="productId" value="${item.getSKU()?if_exists}"/>
+                 <#assign addItem = addItemObj.addItemCall!>
+                 <#assign isSaved = addItemObj.isSaved!>
+                 <#assign isAutoRelist = addItemObj.isAutoRelist!>
+                 <#assign requireEbayInventory = addItemObj.requireEbayInventory!>
+                 <#assign item = addItem.getItem()!>
+                 <#assign primaryCate = item.getPrimaryCategory()!>
+                 <#assign storeFront = item.getStorefront()!>
+                 <#if isProductId == item.getSKU()!>
+                     <input type="hidden" name="productId" value="${item.getSKU()!}"/>
                      <#assign smallImageUrl = "">
                      <#if contentList?has_content>
                           <#list contentList as content>
-                                <#if content.product.productId?if_exists == item.getSKU()?if_exists><#assign smallImageUrl = content.productContentWrapper.get("SMALL_IMAGE_URL")?if_exists></#if>
+                                <#if content.product.productId! == item.getSKU()!><#assign smallImageUrl = content.productContentWrapper.get("SMALL_IMAGE_URL")!></#if>
                           </#list>
                      </#if>
                      <#if !smallImageUrl?string?has_content><#assign smallImageUrl = "/images/defaultImage.jpg"></#if>
                           <table cellspacing="0" width="70%">
                             <tr>
                                 <td class="label">ItemID</td>
-                                <td><input type="text" readonly="readonly" name="item" value="${item.getItemID()?if_exists}"/></td>
+                                <td><input type="text" readonly="readonly" name="item" value="${item.getItemID()!}"/></td>
                                 <td class="label">Item Fee</td>
                                 <td>
                                     <div>
-                                        <input type="text" readonly="readonly" name="itemFee" value="${request.getAttribute("itemFee")?if_exists}"/>
+                                        <input type="text" readonly="readonly" name="itemFee" value="${request.getAttribute("itemFee")!}"/>
                                         <!-- itemlisting buttons bar -->
                                         <a href="#" onclick="javascript:document.ProductsExportToEbay.action='<@o...@ofbizUrl>';document.ProductsExportToEbay.submit();" class="buttontext">${uiLabelMap.CommonSave}</a>
                                     <#-- request.setAttribute("isSaved")-->
-                                    <#if isSaved?exists && isSaved=="Y">
+                                    <#if isSaved?? && isSaved=="Y">
                                         <a href="#" class="buttontext" onclick="javascript:document.ProductsExportToEbay.action='<@o...@ofbizUrl>';document.ProductsExportToEbay.submit();">Verifly Item</a>
                                     </#if>
                                         <a href="#" class="buttontext" onclick="javascript:document.ProductsExportToEbay.action='<@o...@ofbizUrl>';document.ProductsExportToEbay.submit();">Remove</a>
@@ -265,7 +265,7 @@ under the License.
                             </tr>
                           </table>
                           <div class="screenlet">
-                              <div class="screenlet-title-bar"><ul><li class="h3">Product ${item.getSKU()?if_exists}</li></ul><br class="clear"/></div>
+                              <div class="screenlet-title-bar"><ul><li class="h3">Product ${item.getSKU()!}</li></ul><br class="clear"/></div>
                               <div class="screenlet-body">
                                  <!-- ebay setting section -->
                                  <table width="100%" cellspacing="0">
@@ -275,8 +275,8 @@ under the License.
                                         <tr>
                                             <td class="label">SiteId</td>
                                             <td>
-                                                <#assign site = item.getSite().value()?if_exists>
-                                                <input type="text" readonly="readonly" name="site" value="${item.getSite().name()?if_exists} [${item.getSite()?if_exists}]"/>
+                                                <#assign site = item.getSite().value()!>
+                                                <input type="text" readonly="readonly" name="site" value="${item.getSite().name()!} [${item.getSite()!}]"/>
                                             </td>
                                         </tr>
                                         <!-- set ebay category -->
@@ -287,32 +287,32 @@ under the License.
                                                   <div id="loading"></div>
                                                   <select id="ebayCategory" name="ebayCategory"  onchange="retrieveEbayCategoryByParent('<@o...@ofbizUrl>',this.value,'${productStoreId}','ebayCategory')">
                                                         <option value="">Please select</option>
-                                                        <#if categories?exists>
+                                                        <#if categories??>
                                                             <#if primaryCate?has_content>
                                                                 <#if !primaryCate.isLeafCategory()?has_content> 
                                                                     <#assign  leafCate  = "false">
                                                                 <#else>
                                                                     <#assign  leafCate  = "true">
                                                                 </#if>
-                                                                <#assign  primaryCateId  = primaryCate.getCategoryID()?if_exists>
-                                                                 <option selected="selected" value="${primaryCate.getCategoryID()?if_exists}:${leafCate?if_exists}" >${primaryCate.getCategoryName()?if_exists}</option>
+                                                                <#assign  primaryCateId  = primaryCate.getCategoryID()!>
+                                                                 <option selected="selected" value="${primaryCate.getCategoryID()!}:${leafCate!}" >${primaryCate.getCategoryName()!}</option>
                                                             <#else>
                                                                 <#list categories as csCate>
                                                                     <#if !csCate.isLeafCategory()?has_content> 
                                                                         <#assign  leafCate  = "false">
                                                                     <#else>
-                                                                        CH_${primaryCate.getCategoryID()?if_exists}<#assign  leafCate  = "true">
+                                                                        CH_${primaryCate.getCategoryID()!}<#assign  leafCate  = "true">
                                                                     </#if>
-                                                                    <#assign  primaryCateId  = csCate.getCategoryID()?if_exists>
-                                                                    <option value="${csCate.getCategoryID()?if_exists}:${leafCate?if_exists}" >${csCate.getCategoryName()?if_exists}</option>
+                                                                    <#assign  primaryCateId  = csCate.getCategoryID()!>
+                                                                    <option value="${csCate.getCategoryID()!}:${leafCate!}" >${csCate.getCategoryName()!}</option>
                                                                 </#list>
                                                             </#if>
                                                         </#if>
                                                   </select>
-                                                  <a class="buttontext" href="javascript:retrieveEbayCategoryByParent('<@o...@ofbizUrl>','CH_<#if primaryCate?has_content>${primaryCate.getCategoryID()?if_exists}</#if>','${productStoreId}','ebayCategory')">${uiLabelMap.EbayChangeCategory}</a> <a class="buttontext" href="javascript:document.getElementById('ProductsExportToEbay').action = '<@o...@ofbizUrl>?isProductId=${isProductId?if_exists}';document.getElementById('ProductsExportToEbay').submit();">${uiLabelMap.EbaySet}</a>
+                                                  <a class="buttontext" href="javascript:retrieveEbayCategoryByParent('<@o...@ofbizUrl>','CH_<#if primaryCate?has_content>${primaryCate.getCategoryID()!}</#if>','${productStoreId}','ebayCategory')">${uiLabelMap.EbayChangeCategory}</a> <a class="buttontext" href="javascript:document.getElementById('ProductsExportToEbay').action = '<@o...@ofbizUrl>?isProductId=${isProductId!}';document.getElementById('ProductsExportToEbay').submit();">${uiLabelMap.EbaySet}</a>
                                               </div>
-                                              <input type="hidden" name="primaryCateId" value="${primaryCateId?if_exists}"/>
-                                              <div id="ebayCategory_Name">${priCateName?if_exists}</div>
+                                              <input type="hidden" name="primaryCateId" value="${primaryCateId!}"/>
+                                              <div id="ebayCategory_Name">${priCateName!}</div>
                                             </td>
                                         </tr>
                                         <!-- end of set category -->
@@ -324,30 +324,30 @@ under the License.
                                                   <select id="ebayStore1Category" name="ebayStore1Category" onchange="retrieveEbayCategoryByParent('<@o...@ofbizUrl>',this.value,'${productStoreId}','ebayStore1Category')">
                                                         <option value="">Please select</option>
                                                         <option value="">------</option>
-                                                        <#if storeCategories?exists>
+                                                        <#if storeCategories??>
                                                             <#if storeFront?has_content>
                                                                 <#--if !storeFront.isLeafCategory()?has_content> 
                                                                     <#assign  leafCate  = "false">
                                                                 <#else>
                                                                     <#assign  leafCate  = "true">
                                                                 </#if-->
-                                                                <#assign storeCate1Id  = storeFront.getStoreCategoryID()?if_exists>
-                                                                 <option selected="selected" value="${storeFront.getStoreCategoryID()?if_exists}" >${storeFront.getStoreCategoryID()?if_exists}</option>
+                                                                <#assign storeCate1Id  = storeFront.getStoreCategoryID()!>
+                                                                 <option selected="selected" value="${storeFront.getStoreCategoryID()!}" >${storeFront.getStoreCategoryID()!}</option>
                                                             <#else>
                                                                 <#list storeCategories as csCate>
                                                                     <#--if !csCate.IsLeafCategory?has_content> 
                                                                         <#assign  leafCate  = "false">
                                                                     <#else>
-                                                                        CH_${storeFront.getStoreCategoryID()?if_exists}<#assign  leafCate  = "true">
+                                                                        CH_${storeFront.getStoreCategoryID()!}<#assign  leafCate  = "true">
                                                                     </#if-->
-                                                                    <#assign categoryId = csCate.getCategoryID()?if_exists>
-                                                                    <option value="${csCate.getCategoryID()?if_exists}" >${csCate.getName()?if_exists}</option>
+                                                                    <#assign categoryId = csCate.getCategoryID()!>
+                                                                    <option value="${csCate.getCategoryID()!}" >${csCate.getName()!}</option>
                                                                 </#list>
                                                             </#if>
                                                         </#if>
                                                   </select>
                                               </div>
-                                              <input type="hidden" name="storeCate1Id" value="${storeCate1Id?if_exists}"/>
+                                              <input type="hidden" name="storeCate1Id" value="${storeCate1Id!}"/>
                                             </td>
                                         </tr>
                                         <tr>
@@ -357,73 +357,73 @@ under the License.
                                                   <div id="loading"></div>
                                                   <select id="ebayStore2Category" name="ebayStore2Category" onchange="retrieveEbayCategoryByParent('<@o...@ofbizUrl>',this.value,'${productStoreId}','ebayStore2Category')">
                                                         <option value="">Please select</option>
-                                                        <#if storeCategories?exists>
+                                                        <#if storeCategories??>
                                                             <#if storeFront?has_content>
                                                                 <#--if !storeFront.isLeafCategory()?has_content> 
                                                                     <#assign  leafCate  = "false">
                                                                 <#else>
                                                                     <#assign  leafCate  = "true">
                                                                 </#if-->
-                                                                <#assign storeCate2Id  = storeFront.getStoreCategory2ID()?if_exists>
-                                                                 <option selected="selected" value="${storeFront.getStoreCategory2ID()?if_exists}" >${storeFront.getStoreCategory2ID()?if_exists}</option>
+                                                                <#assign storeCate2Id  = storeFront.getStoreCategory2ID()!>
+                                                                 <option selected="selected" value="${storeFront.getStoreCategory2ID()!}" >${storeFront.getStoreCategory2ID()!}</option>
                                                             <#else>
                                                                 <#list storeCategories as csCate>
                                                                     <#--if !csCate.IsLeafCategory?has_content> 
                                                                         <#assign  leafCate  = "false">
                                                                     <#else>
-                                                                        CH_${storeFront.getStoreCategoryID()?if_exists}<#assign  leafCate  = "true">
+                                                                        CH_${storeFront.getStoreCategoryID()!}<#assign  leafCate  = "true">
                                                                     </#if-->
-                                                                    <#assign categoryId = csCate.getCategoryID()?if_exists>
-                                                                    <option value="${csCate.getCategoryID()?if_exists}" >${csCate.getName()?if_exists}</option>
+                                                                    <#assign categoryId = csCate.getCategoryID()!>
+                                                                    <option value="${csCate.getCategoryID()!}" >${csCate.getName()!}</option>
                                                                 </#list>
                                                             </#if>
                                                         </#if>
                                                   </select>
                                               </div>
-                                              <input type="hidden" name="storeCate2Id" value="${storeCate2Id?if_exists}"/>
+                                              <input type="hidden" name="storeCate2Id" value="${storeCate2Id!}"/>
                                             </td>
                                         </tr>
                                         <tr>
                                             <td class="label">Title</td>
-                                            <td><input type="text" size="60"  name="title" value="${item.getTitle()?if_exists}"/></td>
+                                            <td><input type="text" size="60"  name="title" value="${item.getTitle()!}"/></td>
                                         </tr>
                                         <tr>
                                             <td class="label">SKU</td>
-                                            <td><input type="text" readonly="readonly" name="sku" value="${item.getSKU()?if_exists}"/></td>
+                                            <td><input type="text" readonly="readonly" name="sku" value="${item.getSKU()!}"/></td>
                                         </tr>
                                         <tr>
                                             <td class="label">PictureURL</td>
                                             <td>
-                                                <#assign pic = item.getPictureDetails()?if_exists>
-                                                <#assign picUrls = pic.getPictureURL()?if_exists>
-                                                <#assign picUrl = picUrls[0]?if_exists>
-                                                <input type="text" size="60" name="pictureUrl" value="${picUrl?if_exists}"/>
+                                                <#assign pic = item.getPictureDetails()!>
+                                                <#assign picUrls = pic.getPictureURL()!>
+                                                <#assign picUrl = picUrls[0]!>
+                                                <input type="text" size="60" name="pictureUrl" value="${picUrl!}"/>
                                             </td>
                                         </tr>
                                         <#--tr>
                                             <td class="label">Description</td>
                                             <input type="text" rows="3" cols="50" rows="4" name="description" size="50" value=""/>
-                                            <td><textarea  name="description" style="height:88px;width:350px;"><#if item.getDescription()?exists>Description of item<#else>${item.getDescription()?if_exists}</#if></textarea></td>
+                                            <td><textarea  name="description" style="height:88px;width:350px;"><#if item.getDescription()??>Description of item<#else>${item.getDescription()!}</#if></textarea></td>
                                         </tr-->
                                         <tr>
                                             <td class="label">${uiLabelMap.CommonCountry}</td>
-                                             <#if item.getCountry().value()?exists>
+                                             <#if item.getCountry().value()??>
                                                 <#assign country = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("Geo", {"geoCode": item.getCountry().value()}, null, false))/>
                                                 <#if country?has_content>
                                                     <#assign countryname = country.geoName/>
                                                 </#if>
                                             </#if>
-                                            <td><input type="text" readonly="readonly" name="country" size="20" value="${countryname?if_exists?default(item.getCountry().value()?if_exists)}"/></td>
+                                            <td><input type="text" readonly="readonly" name="country" size="20" value="${countryname!?default(item.getCountry().value()!)}"/></td>
                                         </tr>
                                         <tr>
                                             <td class="label">${uiLabelMap.FormFieldTitle_location}</td>
-                                            <td><input type="text" name="location" size="50" maxlength="50" value="${item.getLocation()?if_exists}" /></td>
+                                            <td><input type="text" name="location" size="50" maxlength="50" value="${item.getLocation()!}" /></td>
                                         </tr>
                                         <tr>
                                             <td class="label"><b>Enable auto-relist item</b></td>
                                             <td><input type="checkbox" name="isAutoRelist" value="Y" <#if isAutoRelist == "Y">checked="checked"</#if>/></td>
                                         </tr>
-                                        <#if isReserve?exists && isReserve == true>
+                                        <#if isReserve?? && isReserve == true>
                                         <tr>
                                             <td class="label"><b>Require eBay Inventory</b></td>
                                             <td><input type="checkbox" name="requireEbayInventory" value="Y" <#if requireEbayInventory == "Y">checked="checked"</#if>/></td>
@@ -439,10 +439,10 @@ under the License.
                                     <table width="100%" height="100%" id="table2" cellspacing="0">
                                         <tr>
                                                     <td>
-                                                        <img src="<@o...@ofbizContentUrl>" alt="Small Image"/><br />
-                                                        ${uiLabelMap.ProductProductId}   : ${item.getSKU()?if_exists}<br />
-                                                        ${uiLabelMap.ProductProductName} : ${item.getTitle()?if_exists}<br />
-                                                        ${uiLabelMap.CommonDescription}  : ${item.getDescription()?if_exists}
+                                                        <img src="<@o...@ofbizContentUrl>" alt="Small Image"/><br />
+                                                        ${uiLabelMap.ProductProductId}   : ${item.getSKU()!}<br />
+                                                        ${uiLabelMap.ProductProductName} : ${item.getTitle()!}<br />
+                                                        ${uiLabelMap.CommonDescription}  : ${item.getDescription()!}
                                                     </td>
                                                 </tr>
                                             </table>
@@ -452,26 +452,26 @@ under the License.
                               </div>
                           </div>
                           <!-- item specifices section -->
-                          <#if primaryCate?has_content && primaryCate.getCategoryID()?exists && listingTypes?has_content>
+                          <#if primaryCate?has_content && primaryCate.getCategoryID()?? && listingTypes?has_content>
                              <#if checkSpecific == "true">
                              <div class="screenlet">
                                  <div class="screenlet-title-bar"><ul><li class="h3">Item specifices</li></ul><br class="clear"/></div>
                                      <div class="screenlet-body">
                                         <table width="50%" height="100%" id="table2"  cellspacing="0">
                                         <#list categorySpecifix?keys as key>
-                                            <#assign values = categorySpecifix.get(key)?if_exists/>
+                                            <#assign values = categorySpecifix.get(key)!/>
                                             <#assign i = 0/>
                                             <#list values?keys as nameSpecific>
-                                            <#assign itemSpecifics = values.get(nameSpecific)?if_exists/>
+                                            <#assign itemSpecifics = values.get(nameSpecific)!/>
                                                 <#if itemSpecifics?has_content>
                                                     <tr>
-                                                        <td class="label">${nameSpecific?if_exists}</td>
-                                                        <input type="hidden" name="nameValueListType_o_${i}" value="${nameSpecific?if_exists}"/>
+                                                        <td class="label">${nameSpecific!}</td>
+                                                        <input type="hidden" name="nameValueListType_o_${i}" value="${nameSpecific!}"/>
                                                         <td>
                                                             <select id="categorySpecifics" name="categorySpecifics_o_${i}">
                                                                <option  value="" ></option>
                                                                <#list itemSpecifics as itemSpecific>
-                                                                   <option  value="${itemSpecific?if_exists}" >${itemSpecific?if_exists}</option>
+                                                                   <option  value="${itemSpecific!}" >${itemSpecific!}</option>
                                                                </#list>
                                                             </select>
                                                         </td>
@@ -487,7 +487,7 @@ under the License.
                              </#if>
                           </#if>
                           <!-- Setup ad templates section -->
-                          <#if primaryCate?has_content && primaryCate.getCategoryID()?exists && listingTypes?has_content>
+                          <#if primaryCate?has_content && primaryCate.getCategoryID()?? && listingTypes?has_content>
                              <div class="screenlet">
                                  <div class="screenlet-title-bar"><ul><li class="h3">Details</li></ul><br class="clear"/></div>
                                  <div class="screenlet-body">
@@ -511,7 +511,7 @@ under the License.
                                                                 }
                                                         </script>
                                                         <textarea id="description" name="description" style="width:800px; height:300px">
-                                                            <#if item.getDescription()?exists>description<#else>${item.getDescription()?if_exists}</#if>
+                                                            <#if item.getDescription()??>description<#else>${item.getDescription()!}</#if>
                                                         </textarea>
                                                         <script type="text/javascript">
                                                               jQuery('#description').elrte(opts);
@@ -529,9 +529,9 @@ under the License.
                                                         <td class="label">Select Theme</td>
                                                         <td>
                                                              <#if adItemTemplates?has_content>
-                                                                <select id="themeGroup" disabled onchange="javascript:retrieveTemplateByTemGroupId(this.value,'${productStoreId?if_exists}','${primaryCate.getCategoryID()?if_exists}');" name="themeGroup">
+                                                                <select id="themeGroup" disabled onchange="javascript:retrieveTemplateByTemGroupId(this.value,'${productStoreId!}','${primaryCate.getCategoryID()!}');" name="themeGroup">
                                                                 <#list adItemTemplates as adItemTemplate>
-                                                                    <option value="${adItemTemplate.TemplateGroupId?if_exists}">${adItemTemplate.TemplateGroupName?if_exists}</option>
+                                                                    <option value="${adItemTemplate.TemplateGroupId!}">${adItemTemplate.TemplateGroupName!}</option>
                                                                 </#list>
                                                                 </select>
                                                             </#if>
@@ -567,7 +567,7 @@ under the License.
                              </div>
                           </#if>
                           <!-- product Price Type -->
-                          <#if primaryCate?has_content && primaryCate.getCategoryID()?exists && listingTypes?has_content>
+                          <#if primaryCate?has_content && primaryCate.getCategoryID()?? && listingTypes?has_content>
                              <div class="screenlet">
                                  <div class="screenlet-title-bar"><ul><li class="h3">Listing Type</li></ul><br class="clear"/></div>
                                  <div class="screenlet-body">
@@ -579,10 +579,10 @@ under the License.
                                            <#assign tabName = "">
                                            <#list listingTypes as listingType>
                                                <#-- default with aution and fixed price -->
-                                               <#if listingType.type?if_exists.equals("Chinese") || listingType.type?if_exists == "FixedPriceItem">
-                                                    <#if listingType.type?if_exists.equals("Chinese") > <#assign tabName = "Auction"></#if>
-                                                    <#if listingType.type?if_exists.equals("FixedPriceItem") > <#assign tabName = "Fixed Price"></#if>
-                                                    <li  <#if id==1 > style="margin-left: 1px" id="tabHeaderActive_"<#else> id="tabHeader_${id}" </#if>><a href="javascript:void(0)" onclick="toggleTab(${id},2)"><span>${tabName?if_exists}</span></a></li>
+                                               <#if listingType.type.equals("Chinese") || listingType.type == "FixedPriceItem">
+                                                    <#if listingType.type.equals("Chinese") > <#assign tabName = "Auction"></#if>
+                                                    <#if listingType.type.equals("FixedPriceItem") > <#assign tabName = "Fixed Price"></#if>
+                                                    <li  <#if id==1 > style="margin-left: 1px" id="tabHeaderActive_"<#else> id="tabHeader_${id}" </#if>><a href="javascript:void(0)" onclick="toggleTab(${id},2)"><span>${tabName!}</span></a></li>
                                                     <#assign id = id + 1>
                                                </#if>
                                             </#list>
@@ -591,26 +591,26 @@ under the License.
                                     <div id="tabscontent">
                                        <#assign id = 1>
                                        <#list listingTypes as listingType>
-                                        <#if listingType.type?if_exists.equals("Chinese") || listingType.type?if_exists == "FixedPriceItem">
-                                        <#if listingType.type?if_exists.equals("Chinese") > <#assign tabName = "Auction"></#if>
-                                        <#if listingType.type?if_exists.equals("FixedPriceItem") ><#assign tabName = "Fixed Price"></#if>
+                                        <#if listingType.type.equals("Chinese") || listingType.type! == "FixedPriceItem">
+                                        <#if listingType.type.equals("Chinese") > <#assign tabName = "Auction"></#if>
+                                        <#if listingType.type.equals("FixedPriceItem") ><#assign tabName = "Fixed Price"></#if>
                                        <div id="tabContent${id}" class="tabContent" <#if id != 1>style="display:none;"</#if>>
                                             <br />
                                             <table width="50%" height="100%" id="table2" cellspacing="0">
                                                     <tr>
                                                          <td class="label"></td>
                                                         <td>
-                                                            <#if listingType.type?if_exists.equals("Chinese")>
-                                                                <input type="radio" name="listype" value="auction"/><b>${tabName?if_exists}</b>
-                                                                <#--<input type="checkbox" value="Y" name="enabledAuction_${id}" /><b>${tabName?if_exists}</b></checkbox-->
-                                                            <#elseif listingType.type?if_exists == "FixedPriceItem">
-                                                                <input type="radio" name="listype" value="fixedprice"/><b>${tabName?if_exists}</b>
-                                                                <#--input type="checkbox" value="Y" name="enabledFixedPrice_${id}" /><b>${tabName?if_exists}</b></checkbox-->
+                                                            <#if listingType.type.equals("Chinese")>
+                                                                <input type="radio" name="listype" value="auction"/><b>${tabName!}</b>
+                                                                <#--<input type="checkbox" value="Y" name="enabledAuction_${id}" /><b>${tabName!}</b></checkbox-->
+                                                            <#elseif listingType.type == "FixedPriceItem">
+                                                                <input type="radio" name="listype" value="fixedprice"/><b>${tabName!}</b>
+                                                                <#--input type="checkbox" value="Y" name="enabledFixedPrice_${id}" /><b>${tabName!}</b></checkbox-->
                                                             </#if>
                                                         </td>
                                                         <td class="label">Duration</td>
                                                         <td>
-                                                            <#assign durations = listingType.durations?if_exists>
+                                                            <#assign durations = listingType.durations!>
                                                             <#if durations?has_content>
                                                             <select name="duration_${id}">
                                                                     <#list durations as duration>
@@ -619,7 +619,7 @@ under the License.
                                                                         <#elseif duration == "GTC">
                                                                             <#assign dura = "Good 'Til Cancelled">
                                                                         </#if>
-                                                                        <option value="${duration?if_exists}">${dura?if_exists} ${uiLabelMap.CommonDays}</option>
+                                                                        <option value="${duration!}">${dura!} ${uiLabelMap.CommonDays}</option>
                                                                     </#list>
                                                             </select>
                                                             </#if>
@@ -628,7 +628,7 @@ under the License.
                                                     <tr>
                                                         <td class="label">${uiLabelMap.CommonQuantity}</td>
                                                         <td>
-                                                            <#if listingType.type?if_exists.equals("FixedPriceItem") >
+                                                            <#if listingType.type.equals("FixedPriceItem") >
                                                                 <input type="text" size="3" value="1" name="quantity_${id}" size="12" maxlength="3"/>
                                                             <#else>
                                                                 <input type="text" size="3" value="1"  disabled  name="quantity_${id}" size="12" maxlength="3"/>
@@ -639,32 +639,32 @@ under the License.
                                                     </tr>
                                                     <#if productPrices?has_content>
                                                         <#list productPrices as productPrice>
-                                                            <#assign currencyUomId = productPrice.currencyUomId?if_exists>
+                                                            <#assign currencyUomId = productPrice.currencyUomId!>
                                                             <#if productPrice.productPriceTypeId == "MINIMUM_PRICE">
-                                                                <#assign min = productPrice.price?if_exists>
+                                                                <#assign min = productPrice.price!>
                                                             <#elseif productPrice.productPriceTypeId == "MAXIMUM_PRICE">
-                                                                <#assign max = productPrice.price?if_exists>
+                                                                <#assign max = productPrice.price!>
                                                             </#if>
                                                         </#list>
                                                     </#if>
                                                     <tr>
-                                                    <input type="hidden" name="currencyId_${id}" value="${currencyUomId?if_exists}"/>
-                                                        <#if listingType.type?if_exists.equals("FixedPriceItem") >
+                                                    <input type="hidden" name="currencyId_${id}" value="${currencyUomId!}"/>
+                                                        <#if listingType.type.equals("FixedPriceItem") >
                                                             <td class="label">Start Price</td>
-                                                            <td><input type="text"  size="6" name="startPrice_${id}" value="${min?if_exists}" />${currencyUomId?if_exists}</td>
+                                                            <td><input type="text"  size="6" name="startPrice_${id}" value="${min!}" />${currencyUomId!}</td>
                                                             <td class="label"></td>
                                                             <td></td>
                                                         <#else>
                                                             <td class="label">Start Price</td>
-                                                            <td><input type="text" size="6" name="startPrice_${id}" value="${min?if_exists}" />${currencyUomId?if_exists}</td>
+                                                            <td><input type="text" size="6" name="startPrice_${id}" value="${min!}" />${currencyUomId!}</td>
                                                             <td class="label">BIN Price</td>
-                                                            <td><input type="text"  size="6" name="buyItNowPrice_${id}" value="${max?if_exists}" <#if listingType.type?if_exists.equals("FixedPriceItem") >disabled="disabled"</#if> />${currencyUomId?if_exists}</td>
+                                                            <td><input type="text"  size="6" name="buyItNowPrice_${id}" value="${max!}" <#if listingType.type.equals("FixedPriceItem") >disabled="disabled"</#if> />${currencyUomId!}</td>
                                                         </#if>
                                                     </tr>
-                                                    <#if !listingType.type?if_exists.equals("FixedPriceItem") >
+                                                    <#if !listingType.type.equals("FixedPriceItem") >
                                                     <tr>
                                                         <td class="label">Reserve Price</td>
-                                                        <td><input type="text" size="6" name="reservePrice_${id}" <#if listingType.type?if_exists.equals("FixedPriceItem") >disabled="disabled"</#if> />${currencyUomId?if_exists}</td>
+                                                        <td><input type="text" size="6" name="reservePrice_${id}" <#if listingType.type.equals("FixedPriceItem") >disabled="disabled"</#if> />${currencyUomId!}</td>
                                                         <td class="label"></td>
                                                         <td></td>
                                                     </tr>
@@ -675,7 +675,7 @@ under the License.
                                                          <td class="label">Postal code</td>
                                                         <td><input type="text" size="10" name="postalCode_${id}" /></td>
                                                     </tr>
-                                                    <#if listingType.type?if_exists.equals("FixedPriceItem") >
+                                                    <#if listingType.type.equals("FixedPriceItem") >
                                                     <tr>
                                                         <td class="label"></td><!-- use when fixed price and store fixed price -->
                                                         <td><input type="checkbox" value="true" name="enableBestOffer_${id}" /><b>Enable Best Offer</b></td>
@@ -696,7 +696,7 @@ under the License.
                             </div>
                           </#if>
                           <!-- payment section -->
-                          <#if primaryCate?has_content && primaryCate.getCategoryID()?exists && listingTypes?has_content>
+                          <#if primaryCate?has_content && primaryCate.getCategoryID()?? && listingTypes?has_content>
                              <div class="screenlet">
                                  <div class="screenlet-title-bar"><ul><li class="h3">Payment</li></ul><br class="clear"/></div>
                                  <div class="screenlet-body">
@@ -717,11 +717,11 @@ under the License.
                                                                     <#list paymentMethods as paymentMethod>
                                                                         <#if paymentMethod.value()??>
                                                                             <#if j == 0><tr></#if>
-                                                                        <#if paymentMethod.compareTo(buyerPayMethCode_PAY_PAL?if_exists) == 0 >
+                                                                        <#if paymentMethod.compareTo(buyerPayMethCode_PAY_PAL!) == 0 >
                                                                                 <#assign is_payPal = true>
                                                                         </#if>
-                                                                        <td valign="top"><input type="checkbox" value="true" name="Payments_${paymentMethod.value()?if_exists}" /></td>
-                                                                        <td align="left"><b>${paymentMethod.value()?if_exists}</b></td>
+                                                                        <td valign="top"><input type="checkbox" value="true" name="Payments_${paymentMethod.value()!}" /></td>
+                                                                        <td align="left"><b>${paymentMethod.value()!}</b></td>
                                                                         <#if j == 3>
                                                                              </tr>
                                                                              <#assign j = 0>
@@ -733,7 +733,7 @@ under the License.
                                                                 </table>
                                                                 <#--assign i = 0>
                                                                 <#list paymentMethods as paymentMethod>
-                                                                    <input type="checkbox" value="${paymentMethod.name()?if_exists}" name="${paymentMethod.name()?if_exists}_${id}">${paymentMethod.value()?if_exists}</checkbox><span style="width:40px"/><#if i==3><br /><#assign i = -1></#if>
+                                                                    <input type="checkbox" value="${paymentMethod.name()!}" name="${paymentMethod.name()!}_${id}">${paymentMethod.value()!}</checkbox><span style="width:40px"/><#if i==3><br /><#assign i = -1></#if>
                                                                     <#assign i=i+1> 
                                                                 </#list-->
                                                             </#if>
@@ -752,7 +752,7 @@ under the License.
                                  </div>
                              </div>
                           </#if>
-                          <#if primaryCate?has_content && primaryCate.getCategoryID()?exists && listingTypes?has_content>
+                          <#if primaryCate?has_content && primaryCate.getCategoryID()?? && listingTypes?has_content>
                              <div class="screenlet">
                                  <div class="screenlet-title-bar"><ul><li class="h3">Shipping Service</li></ul><br class="clear"/></div>
                                  <div class="screenlet-body">
@@ -774,8 +774,8 @@ under the License.
                                           </#if>
                                           <#if shippingServiceDetails?has_content>
                                           <#list shippingServiceDetails as shippingServiceDetail>
-                                              <#assign shippingService = shippingServiceDetail.getShippingService()?if_exists>
-                                              <option value="${shippingService?if_exists}">${shippingService?if_exists}</option>
+                                              <#assign shippingService = shippingServiceDetail.getShippingService()!>
+                                              <option value="${shippingService!}">${shippingService!}</option>
                                           </#list>   
                                           </#if>
                                           </select>
@@ -793,10 +793,10 @@ under the License.
                                              <table>
                                                     <#assign j=0>
                                                     <#list shippingLocationDetails as shippingLocationDetail>
-                                                        <#assign shippingLocation = shippingLocationDetail.getShippingLocation()?if_exists>
+                                                        <#assign shippingLocation = shippingLocationDetail.getShippingLocation()!>
                                                         <#if j==0><tr></#if>
-                                                          <td valign="top"><input type="checkbox" value="true" name="Shipping_${shippingLocation?if_exists}" /></td>
-                                                          <td align="left"><b>${shippingLocationDetail.getDescription()?if_exists}</b></td>
+                                                          <td valign="top"><input type="checkbox" value="true" name="Shipping_${shippingLocation!}" /></td>
+                                                          <td align="left"><b>${shippingLocationDetail.getDescription()!}</b></td>
                                                         <#if j==3></tr><#assign j=0><#else><#assign j=j+1></#if>
                                                     </#list>
                                              </table>

Modified: ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/returnPolicy.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/returnPolicy.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/returnPolicy.ftl (original)
+++ ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/returnPolicy.ftl Sat Aug 16 08:40:28 2014
@@ -17,23 +17,23 @@ specific language governing permissions 
 under the License.
 -->
 
-<#assign returnPolicyEnabled = ReturnPolicyEnabled?if_exists>
-<#assign eBayDetails = EBayDetails?if_exists>
+<#assign returnPolicyEnabled = ReturnPolicyEnabled!>
+<#assign eBayDetails = EBayDetails!>
 <#if eBayDetails?has_content>
     <#assign returnPolicyDetails = eBayDetails.getReturnPolicyDetails()>
 </#if>
-<#if !returnPolicyEnabled?exists><#assign not = "not"></#if>
-<#assign  title = "Return policy is "+not?if_exists+" enabled for this category.">
+<#if !returnPolicyEnabled??><#assign not = "not"></#if>
+<#assign  title = "Return policy is "+not!+" enabled for this category.">
 
 <form name="APIForm" id="APIForm" method="post" action="ReturnPolicyServlet" >
   <table align="center"  border="0">
     <tr><td><img src="ebay.gif" alt="" /></td></tr>
-    <tr><td>${title?if_exists}</td></tr>
+    <tr><td>${title!}</td></tr>
     <tr>
          <td>&nbsp;</td>
     </tr>
     <!-- specify return policy -->
-    <#if returnPolicyEnabled?if_exists == true>
+    <#if returnPolicyEnabled! == true>
         <tr align="left">
             <td><b>Returns accepted:</b></td>
         </tr>
@@ -41,14 +41,14 @@ under the License.
                 <td>
                         <select name="ReturnsAccepted">
                         <#if returnPolicyDetails?has_content>
-                        <#assign retAccpTypeArray = returnPolicyDetails.getReturnsAccepted()?if_exists>
+                        <#assign retAccpTypeArray = returnPolicyDetails.getReturnsAccepted()!>
                         for(int j = 0; j < retAccpTypeArray.length; j++){
                             
                         <#list retAccpTypeArray as retAccpType>
                             <#assign returnAccepted = "">
-                            <option value="${retAccpType.getReturnsAcceptedOption()?if_exists}"
-                            <#if returnAccepted?? && returnAccepted.equalsIgnoreCase(retAccpType.getReturnsAcceptedOption()?if_exists)>selected="select"</#if>>
-                            ${retAccpType.getDescription()?if_exists}</option>
+                            <option value="${retAccpType.getReturnsAcceptedOption()!}"
+                            <#if returnAccepted?? && returnAccepted.equalsIgnoreCase(retAccpType.getReturnsAcceptedOption()!)>selected="select"</#if>>
+                            ${retAccpType.getDescription()!}</option>
                         </#list>
                         </#if>
                         </select>
@@ -64,12 +64,12 @@ under the License.
             <td>
                 <select  name="ReturnsWithin">
                  <#if returnPolicyDetails?has_content>
-                 <#assign retWithinArray = returnPolicyDetails.getReturnsWithin()?if_exists>
+                 <#assign retWithinArray = returnPolicyDetails.getReturnsWithin()!>
                  <#list retWithinArray as retWithin>
                     <#assign returnWithin = "">
-                    <option value="${retWithin.getReturnsWithinOption()?if_exists}"
-                    <#if returnWithin?? && returnWithin.equalsIgnoreCase(retWithin.getReturnsWithinOption()?if_exists)>selected="select"</#if>>
-                    ${retWithin.getDescription()?if_exists}</option>
+                    <option value="${retWithin.getReturnsWithinOption()!}"
+                    <#if returnWithin?? && returnWithin.equalsIgnoreCase(retWithin.getReturnsWithinOption()!)>selected="select"</#if>>
+                    ${retWithin.getDescription()!}</option>
                 </#list>
                 </#if>
                 </select>
@@ -87,12 +87,12 @@ under the License.
             <td>
                 <select  name="Refund">
                  <#if returnPolicyDetails?has_content>
-                 <#assign refundArray = returnPolicyDetails.getRefund()?if_exists>
+                 <#assign refundArray = returnPolicyDetails.getRefund()!>
                  <#list refundArray as refundAr>
                     <#assign refund = "">
-                    <option value="${refundAr.getRefundOption()?if_exists}"
+                    <option value="${refundAr.getRefundOption()!}"
                     <#if refund?? && refund.equalsIgnoreCase(refundAr.getRefundOption())>selected="select"</#if>>
-                    ${refundArray[j].getDescription()?if_exists}</option>
+                    ${refundArray[j].getDescription()!}</option>
                  </#list>
                  </#if>
                 </select>
@@ -109,12 +109,12 @@ under the License.
             <td>
                 <select name="ShippingCostPaidBy">
                 <#if returnPolicyDetails?has_content>
-                <#assign paidByArray = returnPolicyDetails.getShippingCostPaidBy()?if_exists>
+                <#assign paidByArray = returnPolicyDetails.getShippingCostPaidBy()!>
                 <#list paidByArray as paidBy>
                     <#assign shippingCostPaidBy = "">
-                    <option value="${paidBy.getShippingCostPaidByOption()?if_exists}"
-                    <#if shippingCostPaidBy?? && shippingCostPaidBy.equalsIgnoreCase(paidBy.getShippingCostPaidByOption()?if_exists)>selected="select"</#if>>
-                    ${paidBy.getDescription()?if_exists}</option>
+                    <option value="${paidBy.getShippingCostPaidByOption()!}"
+                    <#if shippingCostPaidBy?? && shippingCostPaidBy.equalsIgnoreCase(paidBy.getShippingCostPaidByOption()!)>selected="select"</#if>>
+                    ${paidBy.getDescription()!}</option>
                 </#list>
                 </#if>
                 </select>
@@ -130,7 +130,7 @@ under the License.
         </tr>
         <tr align="left">
             <td>
-                <textarea name="ReturnPolicyDetailsDescription" cols="70" rows="6"<#if !returnPolicyDetails.isDescription()?if_exists.booleanValue()>disabled="true"</#if>></textarea>
+                <textarea name="ReturnPolicyDetailsDescription" cols="70" rows="6"<#if !returnPolicyDetails.isDescription().booleanValue()>disabled="true"</#if>></textarea>
             </td>
         </tr>
         <tr>

Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListEmailTemplate.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListEmailTemplate.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListEmailTemplate.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListEmailTemplate.ftl Sat Aug 16 08:40:28 2014
@@ -27,10 +27,10 @@ under the License.
                 <label>E-mail: ${emailAddress}</label>
                 <input type="hidden" name="contactListId" value="${contactListId}" />
                 <input type="hidden" name="partyId" value="${partyId}" />
-                <input type="hidden" name="preferredContactMechId" value="${preferredContactMechId?if_exists}" />
+                <input type="hidden" name="preferredContactMechId" value="${preferredContactMechId!}" />
                 <input type="hidden" name="fromDate" value="${fromDate}" />
                 <input type="hidden" name="statusId" value="CLPT_UNSUBS_PENDING" />
-                <input type="hidden" name="optInVerifyCode" value="${optInVerifyCode?if_exists}" />
+                <input type="hidden" name="optInVerifyCode" value="${optInVerifyCode!}" />
                 <input type="submit" name="submitButton" value="Click here to unsubscribe your newsletter subscription." />
             </fieldset>
         </form>

Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListSubscribeEmail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListSubscribeEmail.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListSubscribeEmail.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListSubscribeEmail.ftl Sat Aug 16 08:40:28 2014
@@ -18,11 +18,11 @@ under the License.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
   <body>
-    <p>Hello ${partyName.firstName?if_exists} ${partyName.lastName?if_exists} ${partyName.groupName?if_exists}!</p>
+    <p>Hello ${partyName.firstName!} ${partyName.lastName!} ${partyName.groupName!}!</p>
     <p>Successfully subscribed from ${contactList.contactListName} contact list.</p>
 
-    <#assign verifyUrl = baseEcommerceSecureUrl +'updateContactListPartyNoUserLogin?contactListId='+contactListParty.contactListId+'&amp;partyId='+contactListParty.partyId+'&amp;fromDate='+contactListParty.fromDate+'&amp;statusId=CLPT_UNSUBS_PENDING&amp;optInVerifyCode='+contactListPartyStatus.optInVerifyCode+'&amp;baseLocation='+baseLocation?if_exists>
-    <#if (contactListParty.preferredContactMechId)?exists>
+    <#assign verifyUrl = baseEcommerceSecureUrl +'updateContactListPartyNoUserLogin?contactListId='+contactListParty.contactListId+'&amp;partyId='+contactListParty.partyId+'&amp;fromDate='+contactListParty.fromDate+'&amp;statusId=CLPT_UNSUBS_PENDING&amp;optInVerifyCode='+contactListPartyStatus.optInVerifyCode+'&amp;baseLocation='+baseLocation!>
+    <#if (contactListParty.preferredContactMechId)??>
         <#assign verifyUrl= verifyUrl+"&amp;preferredContactMechId="+contactListParty.preferredContactMechId>
     </#if>
     <a href="${verifyUrl}">If this was by mistake, click here to unsubscribe your subscription again.</a>

Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListUnsubscribeEmail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListUnsubscribeEmail.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListUnsubscribeEmail.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListUnsubscribeEmail.ftl Sat Aug 16 08:40:28 2014
@@ -18,11 +18,11 @@ under the License.
 -->
 <html xmlns="http://www.w3.org/1999/xhtml">
   <body>
-    <p>Hello ${partyName.firstName?if_exists} ${partyName.lastName?if_exists} ${partyName.groupName?if_exists}!</p>
+    <p>Hello ${partyName.firstName!} ${partyName.lastName!} ${partyName.groupName!}!</p>
     <p>Successfully unsubscribed from ${contactList.contactListName} contact list.</p>
 
-    <#--assign verifyUrl = baseEcommerceSecureUrl +'updateContactListPartyNoUserLogin?contactListId='+contactListParty.contactListId+'&amp;partyId='+contactListParty.partyId+'&amp;fromDate='+contactListParty.fromDate+'&amp;statusId=CLPT_SUBS_PENDING&amp;optInVerifyCode='+contactListPartyStatus.optInVerifyCode+'&amp;baseLocation='+baseLocation?if_exists>
-    <#if (contactListParty.preferredContactMechId)?exists>
+    <#--assign verifyUrl = baseEcommerceSecureUrl +'updateContactListPartyNoUserLogin?contactListId='+contactListParty.contactListId+'&amp;partyId='+contactListParty.partyId+'&amp;fromDate='+contactListParty.fromDate+'&amp;statusId=CLPT_SUBS_PENDING&amp;optInVerifyCode='+contactListPartyStatus.optInVerifyCode+'&amp;baseLocation='+baseLocation!>
+    <#if (contactListParty.preferredContactMechId)??>
         <#assign verifyUrl= verifyUrl+"&amp;preferredContactMechId="+contactListParty.preferredContactMechId>
     </#if>
     <a href="${verifyUrl}">If this was by mistake, click here subscribe again.</a-->

Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListUnsubscribeVerifyEmail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListUnsubscribeVerifyEmail.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListUnsubscribeVerifyEmail.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListUnsubscribeVerifyEmail.ftl Sat Aug 16 08:40:28 2014
@@ -28,14 +28,14 @@ under the License.
     
         <#-- custom logo or text can be inserted here -->
         <h1>${title!}</h1>
-        <#if note?exists><p>${note}</p></#if>
+        <#if note??><p>${note}</p></#if>
         
-        <p>Hello ${partyName.firstName?if_exists} ${partyName.lastName?if_exists} ${partyName.groupName?if_exists}!</p>
+        <p>Hello ${partyName.firstName!} ${partyName.lastName!} ${partyName.groupName!}!</p>
         <p>We have received a request for unsubscription to the ${contactList.contactListName} contact list.</p>
         <p>To complete your unsubscription click the on the following link:</p>
         
-        <#assign verifyUrl = baseEcommerceSecureUrl+'contactListOptOut?contactListId='+contactListParty.contactListId+'&amp;communicationEventId='+communicationEventId?if_exists+'&amp;partyId='+contactListParty.partyId+'&amp;fromDate='+contactListParty.fromDate+'&amp;statusId=CLPT_UNSUBSCRIBED&amp;optInVerifyCode='+contactListPartyStatus.optInVerifyCode>
-        <#if (contactListParty.preferredContactMechId)?exists>
+        <#assign verifyUrl = baseEcommerceSecureUrl+'contactListOptOut?contactListId='+contactListParty.contactListId+'&amp;communicationEventId='+communicationEventId!+'&amp;partyId='+contactListParty.partyId+'&amp;fromDate='+contactListParty.fromDate+'&amp;statusId=CLPT_UNSUBSCRIBED&amp;optInVerifyCode='+contactListPartyStatus.optInVerifyCode>
+        <#if (contactListParty.preferredContactMechId)??>
             <#assign verifyUrl= verifyUrl+"&amp;preferredContactMechId="+contactListParty.preferredContactMechId>
         </#if>
         <a href="${verifyUrl}">Please click here to verify your unsubscription.</a>

Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListVerifyEmail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListVerifyEmail.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListVerifyEmail.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactListVerifyEmail.ftl Sat Aug 16 08:40:28 2014
@@ -28,14 +28,14 @@ under the License.
 
 <#-- custom logo or text can be inserted here -->
 <h1>${title!}</h1>
-<#if note?exists><p>${note}</p></#if>
+<#if note??><p>${note}</p></#if>
 
-<p>Hello ${partyName.firstName?if_exists} ${partyName.lastName?if_exists} ${partyName.groupName?if_exists}!</p>
+<p>Hello ${partyName.firstName!} ${partyName.lastName!} ${partyName.groupName!}!</p>
 <p>We have received a request for subscription to the ${contactList.contactListName} contact list.</p>
 <p>To complete your subscription click the on the following link:</p>
 
-<#assign verifyUrl = baseEcommerceSecureUrl+'updateContactListPartyNoUserLogin?contactListId='+contactListParty.contactListId+'&amp;partyId='+contactListParty.partyId+'&amp;fromDate='+contactListParty.fromDate+'&amp;statusId=CLPT_ACCEPTED&amp;optInVerifyCode='+contactListPartyStatus.optInVerifyCode+'&amp;baseLocation='+baseLocation?if_exists>
-<#if (contactListParty.preferredContactMechId)?exists>
+<#assign verifyUrl = baseEcommerceSecureUrl+'updateContactListPartyNoUserLogin?contactListId='+contactListParty.contactListId+'&amp;partyId='+contactListParty.partyId+'&amp;fromDate='+contactListParty.fromDate+'&amp;statusId=CLPT_ACCEPTED&amp;optInVerifyCode='+contactListPartyStatus.optInVerifyCode+'&amp;baseLocation='+baseLocation!>
+<#if (contactListParty.preferredContactMechId)??>
     <#assign verifyUrl= verifyUrl+"&amp;preferredContactMechId="+contactListParty.preferredContactMechId>
 </#if>
 <a href="${verifyUrl}">Please click here to verify your subscription.</a>

Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactUsEmail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactUsEmail.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactUsEmail.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/email/ContactUsEmail.ftl Sat Aug 16 08:40:28 2014
@@ -21,8 +21,8 @@ under the License.
   <head></head>
   <body>
     <p>The information filled by the person on contact us page is as follows:</p>
-    <p>${uiLabelMap.CommonName}: ${parameters.firstName?if_exists} ${parameters.lastName?if_exists}</p>
-    <p>${uiLabelMap.CommonEmail}: ${parameters.email?if_exists}</p>
-    <p>${uiLabelMap.CommonMessage}: ${parameters.message?if_exists}</p>
+    <p>${uiLabelMap.CommonName}: ${parameters.firstName!} ${parameters.lastName!}</p>
+    <p>${uiLabelMap.CommonEmail}: ${parameters.email!}</p>
+    <p>${uiLabelMap.CommonMessage}: ${parameters.message!}</p>
   </body>
 </html>
\ No newline at end of file

Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/email/OrderNoticeEmail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/email/OrderNoticeEmail.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/email/OrderNoticeEmail.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/email/OrderNoticeEmail.ftl Sat Aug 16 08:40:28 2014
@@ -131,14 +131,14 @@ under the License.
 <#-- custom logo or text can be inserted here -->
 
 <h1>${title!}</h1>
-<#if !isDemoStore?exists || isDemoStore><p>${uiLabelMap.OrderDemoFrontNote}.</p></#if>
-<#if note?exists><p>${note}</p></#if>
-<#if orderHeader?exists>
+<#if !isDemoStore?? || isDemoStore><p>${uiLabelMap.OrderDemoFrontNote}.</p></#if>
+<#if note??><p>${note}</p></#if>
+<#if orderHeader??>
 ${screens.render("component://ecommerce/widget/OrderScreens.xml#orderheader")}
 <br />
 ${screens.render("component://ecommerce/widget/OrderScreens.xml#orderitems")}
 <#else>
-<h1>Order not found with ID [${orderId?if_exists}], or not allowed to view.</h1>
+<h1>Order not found with ID [${orderId!}], or not allowed to view.</h1>
 </#if>
 
 </body>

Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/email/ShipmentNotificationEmail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/email/ShipmentNotificationEmail.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/email/ShipmentNotificationEmail.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/email/ShipmentNotificationEmail.ftl Sat Aug 16 08:40:28 2014
@@ -17,11 +17,11 @@ specific language governing permissions 
 under the License.
 -->
 
-<#if baseEcommerceSecureUrl?exists><#assign urlPrefix = baseEcommerceSecureUrl/></#if>
+<#if baseEcommerceSecureUrl??><#assign urlPrefix = baseEcommerceSecureUrl/></#if>
 <#if shipment?has_content>
   <div class="screenlet">
     <div class="screenlet-title-bar">
-      <div class="h3">${title?if_exists}<br /><br /></div>
+      <div class="h3">${title!}<br /><br /></div>
     </div>
     <table border="0" cellpadding="0" cellspacing="0">
       <tbody>
@@ -53,8 +53,8 @@ under the License.
         <#assign productId = shipmentItem.productId>
         <#assign product = shipmentItem.getRelatedOne("Product", false)>
         <tr>
-          <td colspan="1" valign="top"> ${productId?if_exists} - ${product.internalName?if_exists}</td>
-          <td align="right" valign="top"> ${shipmentItem.quantity?if_exists}</td>
+          <td colspan="1" valign="top"> ${productId!} - ${product.internalName!}</td>
+          <td align="right" valign="top"> ${shipmentItem.quantity!}</td>
         </tr>
       </#list>
       <tr><td colspan="10"><hr /></td></tr>

Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/email/giftcardpurchase.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/email/giftcardpurchase.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/email/giftcardpurchase.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/email/giftcardpurchase.ftl Sat Aug 16 08:40:28 2014
@@ -22,11 +22,11 @@ under the License.
      from surveyId 1000 - The gift card purchase survey.
  -->
 
-<#if recipientName?exists>${recipientName},</#if>
+<#if recipientName??>${recipientName},</#if>
 <br />
 
 <#-- MyCompany.com (not a variable why?) must be adapted - JLR 1/6/5 -->
-${uiLabelMap.EcommerceYouHaveBeenSent} MyCompany.com <#if senderName?exists> ${uiLabelMap.EcommerceGiftCardFrom} ${senderName}</#if>!
+${uiLabelMap.EcommerceYouHaveBeenSent} MyCompany.com <#if senderName??> ${uiLabelMap.EcommerceGiftCardFrom} ${senderName}</#if>!
 <br /><br />
 <#if giftMessage?has_content>
   ${uiLabelMap.OrderGiftMessage}
@@ -36,7 +36,7 @@ ${uiLabelMap.EcommerceYouHaveBeenSent} M
 </#if>
 
 <pre>
-  ${uiLabelMap.EcommerceYourCardNumber} ${cardNumber?if_exists}
-  ${uiLabelMap.EcommerceYourPinNumber} ${pinNumber?if_exists}
-  ${uiLabelMap.EcommerceGiftAmount} ${amount?if_exists}
+  ${uiLabelMap.EcommerceYourCardNumber} ${cardNumber!}
+  ${uiLabelMap.EcommerceYourPinNumber} ${pinNumber!}
+  ${uiLabelMap.EcommerceGiftAmount} ${amount!}
 </pre>

Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/email/returnaccept.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/email/returnaccept.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/email/returnaccept.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/email/returnaccept.ftl Sat Aug 16 08:40:28 2014
@@ -23,8 +23,8 @@ ${uiLabelMap.EcommerceReturnRequest}
 <br /><br />
 <pre>
 <#list returnItems as item>
-  <#assign returnReason = item.getRelatedOne("ReturnReason", false)?if_exists>
-  <#assign returnType = item.getRelatedOne("ReturnType", false)?if_exists>
+  <#assign returnReason = item.getRelatedOne("ReturnReason", false)!>
+  <#assign returnType = item.getRelatedOne("ReturnType", false)!>
   ${item.description?default("N/A")} - ${item.returnQuantity?string.number} @ ${item.returnPrice}
 </#list>
 </pre>

Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/survey/genericresult.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/survey/genericresult.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/survey/genericresult.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/survey/genericresult.ftl Sat Aug 16 08:40:28 2014
@@ -19,7 +19,7 @@ under the License.
 
 <#assign uiLabelMap = Static["org.ofbiz.base.util.UtilProperties"].getResourceBundleMap("CommonUiLabels", locale)>
 
-<h1>${survey.description?if_exists}</h1>
+<h1>${survey.description!}</h1>
 <br />
 
 <table width="100%" border="0" cellpadding="2" cellspacing="0">
@@ -33,19 +33,19 @@ under the License.
 
     <#-- get an answer from the answerMap -->
     <#if surveyAnswers?has_content>
-      <#assign answer = surveyAnswers.get(surveyQuestionAndAppl.surveyQuestionId)?if_exists>
+      <#assign answer = surveyAnswers.get(surveyQuestionAndAppl.surveyQuestionId)!>
     </#if>
 
     <#-- get the question results -->
     <#if surveyResults?has_content>
-      <#assign results = surveyResults.get(surveyQuestionAndAppl.surveyQuestionId)?if_exists>
+      <#assign results = surveyResults.get(surveyQuestionAndAppl.surveyQuestionId)!>
     </#if>
 
     <tr>
 
       <#-- seperator options -->
       <#if surveyQuestionAndAppl.surveyQuestionTypeId == "SEPERATOR_TEXT">
-        <td colspan="5"><div>${surveyQuestionAndAppl.question?if_exists}</div></td>
+        <td colspan="5"><div>${surveyQuestionAndAppl.question!}</div></td>
       <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "SEPERATOR_LINE">
         <td colspan="5"><hr /></td>
       <#else>
@@ -56,7 +56,7 @@ under the License.
           <#if (results._total?default(0) == 1)>
              <#assign answerString = "answer">
           </#if>
-          <div>${surveyQuestionAndAppl.question?if_exists} (${results._total?default(0)?string.number} ${answerString})</div>
+          <div>${surveyQuestionAndAppl.question!} (${results._total?default(0)?string.number} ${answerString})</div>
           <#if surveyQuestionAndAppl.hint?has_content>
             <div>${surveyQuestionAndAppl.hint}</div>
           </#if>
@@ -73,21 +73,21 @@ under the License.
               <#if "N" == selectedOption><b>==>&nbsp;<font color="red"></#if>N<#if "N" == selectedOption></font></b></#if>&nbsp;[${results._no_total?default(0)?string("#")} / ${results._no_percent?default(0)?string("#")}%]
             </span></div>
           <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "TEXTAREA">
-            <div>${(answer.textResponse)?if_exists}</div>
+            <div>${(answer.textResponse)!}</div>
           <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "TEXT_SHORT">
-            <div>${(answer.textResponse)?if_exists}</div>
+            <div>${(answer.textResponse)!}</div>
           <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "TEXT_LONG">
-            <div>${(answer.textResponse)?if_exists}</div>
+            <div>${(answer.textResponse)!}</div>
           <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "EMAIL">
-            <div>${(answer.textResponse)?if_exists}</div>
+            <div>${(answer.textResponse)!}</div>
           <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "URL">
-            <div>${(answer.textResponse)?if_exists}</div>
+            <div>${(answer.textResponse)!}</div>
           <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "DATE">
-            <div>${(answer.textResponse)?if_exists}</div>
+            <div>${(answer.textResponse)!}</div>
           <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "CREDIT_CARD">
-            <div>${(answer.textResponse)?if_exists}</div>
+            <div>${(answer.textResponse)!}</div>
           <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "GIFT_CARD">
-            <div>${(answer.textResponse)?if_exists}</div>
+            <div>${(answer.textResponse)!}</div>
           <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "NUMBER_CURRENCY">
             <div>${answer.currencyResponse?number?default(0)}</div>
           <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "NUMBER_FLOAT">
@@ -99,17 +99,17 @@ under the License.
           <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "CONTENT">
             <#if answer.contentId?has_content>
               <#assign content = answer.getRelatedOne("Content", false)>
-              <a href="/content/control/img?imgId=${content.dataResourceId}" class="buttontext">${answer.contentId}</a>&nbsp;-&nbsp;${content.contentName?if_exists}
+              <a href="/content/control/img?imgId=${content.dataResourceId}" class="buttontext">${answer.contentId}</a>&nbsp;-&nbsp;${content.contentName!}
             </#if>
           <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "OPTION">
-            <#assign options = surveyQuestionAndAppl.getRelated("SurveyQuestionOption", null, sequenceSort, false)?if_exists>
+            <#assign options = surveyQuestionAndAppl.getRelated("SurveyQuestionOption", null, sequenceSort, false)!>
             <#assign selectedOption = (answer.surveyOptionSeqId)?default("_NA_")>
             <#if options?has_content>
               <#list options as option>
-                <#assign optionResults = results.get(option.surveyOptionSeqId)?if_exists>
+                <#assign optionResults = results.get(option.surveyOptionSeqId)!>
                   <div><span style="white-space: nowrap;">
                     <#if option.surveyOptionSeqId == selectedOption><b>==>&nbsp;<font color="red"></#if>
-                    ${option.description?if_exists}
+                    ${option.description!}
                     <#if option.surveyOptionSeqId == selectedOption></font></b></#if>
                     &nbsp;[${optionResults._total?default(0)?string("#")} / ${optionResults._percent?default(0?string("#"))}%]
                   </span></div>

Modified: ofbiz/trunk/specialpurpose/ecommerce/templates/survey/miniresult.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/templates/survey/miniresult.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/templates/survey/miniresult.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/templates/survey/miniresult.ftl Sat Aug 16 08:40:28 2014
@@ -22,12 +22,12 @@ under the License.
 
     <#-- get an answer from the answerMap -->
     <#if surveyAnswers?has_content>
-      <#assign answer = surveyAnswers.get(surveyQuestionAndAppl.surveyQuestionId)?if_exists>
+      <#assign answer = surveyAnswers.get(surveyQuestionAndAppl.surveyQuestionId)!>
     </#if>
 
     <#-- get the question results -->
     <#if surveyResults?has_content>
-      <#assign results = surveyResults.get(surveyQuestionAndAppl.surveyQuestionId)?if_exists>
+      <#assign results = surveyResults.get(surveyQuestionAndAppl.surveyQuestionId)!>
     </#if>
 
     <tr>
@@ -37,7 +37,7 @@ under the License.
         <#if (results._total?default(0) == 1)>
            <#assign answerString = "answer">
         </#if>
-        <div>${surveyQuestionAndAppl.question?if_exists} (${results._total?default(0)?string.number} ${answerString})</div>
+        <div>${surveyQuestionAndAppl.question!} (${results._total?default(0)?string.number} ${answerString})</div>
       </td>
     </tr>
 
@@ -57,14 +57,14 @@ under the License.
           </span></div>
 
         <#elseif surveyQuestionAndAppl.surveyQuestionTypeId == "OPTION">
-          <#assign options = surveyQuestionAndAppl.getRelated("SurveyQuestionOption", null, sequenceSort, false)?if_exists>
+          <#assign options = surveyQuestionAndAppl.getRelated("SurveyQuestionOption", null, sequenceSort, false)!>
           <#assign selectedOption = (answer.surveyOptionSeqId)?default("_NA_")>
           <#if options?has_content>
             <#list options as option>
-              <#assign optionResults = results.get(option.surveyOptionSeqId)?if_exists>
+              <#assign optionResults = results.get(option.surveyOptionSeqId)!>
                 <div><span style="white-space: nowrap;">
                   <#if option.surveyOptionSeqId == selectedOption><b>==>&nbsp;<font color="red"></#if>
-                  ${option.description?if_exists}
+                  ${option.description!}
                   <#if option.surveyOptionSeqId == selectedOption></font></b></#if>
                   &nbsp;[${optionResults._total?default(0)?string("#")} / ${optionResults._percent?default(0?string("#"))}%]
                 </span></div>