svn commit: r1618313 [9/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/...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1618313 [9/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/...

ashish-18
Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/shipsettings.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/shipsettings.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/shipsettings.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/shipsettings.ftl Sat Aug 16 08:40:28 2014
@@ -16,30 +16,30 @@ KIND, either express or implied.  See th
 specific language governing permissions and limitations
 under the License.
 -->
-<#assign cart = sessionAttributes.shoppingCart?if_exists>
+<#assign cart = sessionAttributes.shoppingCart!>
   <h3>${uiLabelMap.OrderShippingInformation}</h3>
   <div id="shippingFormServerError" class="errorMessage"></div>
   <form id="editShippingContact" method="post" action="<@ofbizUrl>processShipSettings</@ofbizUrl>" name="${parameters.formNameValue}">
     <fieldset><legend>${uiLabelMap.OrderShippingInformation}</legend>
-      <input type="hidden" name="shippingContactMechId" value="${parameters.shippingContactMechId?if_exists}"/>
+      <input type="hidden" name="shippingContactMechId" value="${parameters.shippingContactMechId!}"/>
       <input type="hidden" name="partyId" value="${cart.getPartyId()?default("_NA_")}"/>
       <div>
         <label for="address1">${uiLabelMap.PartyAddressLine1}*</label>
-        <input id="address1" name="address1" class="required" type="text" value="${address1?if_exists}"/>
+        <input id="address1" name="address1" class="required" type="text" value="${address1!}"/>
         <span id="advice-required-address1" class="custom-advice errorMessage" style="display:none"> (${uiLabelMap.CommonRequired})</span>
       </div>
       <div>
         <label for="address2">${uiLabelMap.PartyAddressLine2}</label>
-        <input id="address2" name="address2" type="text" value="${address2?if_exists}"/>
+        <input id="address2" name="address2" type="text" value="${address2!}"/>
       </div>
       <div>
         <label for="city">${uiLabelMap.CommonCity}*</label>
-        <input id="city" name="city" class="required" type="text" value="${city?if_exists}"/>
+        <input id="city" name="city" class="required" type="text" value="${city!}"/>
         <span id="advice-required-city" class="custom-advice errorMessage" style="display:none"> (${uiLabelMap.CommonRequired})</span>
       </div>
       <div>
         <label for="postalCode">${uiLabelMap.PartyZipCode}*</label>
-        <input id="postalCode" name="postalCode" class="required" type="text" value="${postalCode?if_exists}" size="12" maxlength="10"/>
+        <input id="postalCode" name="postalCode" class="required" type="text" value="${postalCode!}" size="12" maxlength="10"/>
         <span id="advice-required-postalCode" class="custom-advice errorMessage" style="display:none"> (${uiLabelMap.CommonRequired})</span>
       </div>
       <div>

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/splitship.ftl Sat Aug 16 08:40:28 2014
@@ -83,7 +83,7 @@ function submitForm(form, mode, value) {
                         </#list>
                       </select>
                     </div>
-                    <#if cart.getShipmentMethodTypeId(groupIdx)?exists>
+                    <#if cart.getShipmentMethodTypeId(groupIdx)??>
                       <#assign selectedShippingMethod = cart.getShipmentMethodTypeId(groupIdx) + "@" + cart.getCarrierPartyId(groupIdx)>
                     <#else>
                       <#assign selectedShippingMethod = "">
@@ -95,9 +95,9 @@ function submitForm(form, mode, value) {
                         <#assign shippingMethod = carrierShipmentMethod.shipmentMethodTypeId + "@" + carrierShipmentMethod.partyId>
                         <option value="${shippingMethod}" <#if (shippingMethod == selectedShippingMethod)>selected="selected"</#if>>
                           <#if carrierShipmentMethod.partyId != "_NA_">
-                            ${carrierShipmentMethod.partyId?if_exists}&nbsp;
+                            ${carrierShipmentMethod.partyId!}&nbsp;
                           </#if>
-                          ${carrierShipmentMethod.description?if_exists}
+                          ${carrierShipmentMethod.description!}
                           <#if shippingEst?has_content>
                             &nbsp;-&nbsp;
                             <#if (shippingEst > -1)>
@@ -111,7 +111,7 @@ function submitForm(form, mode, value) {
                     </select>
 
                     <h2>${uiLabelMap.OrderSpecialInstructions}</h2>
-                    <textarea class='textAreaBox' cols="35" rows="3" wrap="hard" name="shippingInstructions">${cart.getShippingInstructions(groupIdx)?if_exists}</textarea>
+                    <textarea class='textAreaBox' cols="35" rows="3" wrap="hard" name="shippingInstructions">${cart.getShippingInstructions(groupIdx)!}</textarea>
                   </td>
                   <td>
                     <div>
@@ -132,7 +132,7 @@ function submitForm(form, mode, value) {
                     </div>
 
                     <h2>${uiLabelMap.OrderGiftMessage}</h2>
-                    <textarea class='textAreaBox' cols="30" rows="3" wrap="hard" name="giftMessage">${cart.getGiftMessage(groupIdx)?if_exists}</textarea>
+                    <textarea class='textAreaBox' cols="30" rows="3" wrap="hard" name="giftMessage">${cart.getGiftMessage(groupIdx)!}</textarea>
                   </td>
                   <td><input type="button" class="smallSubmit" value="${uiLabelMap.CommonSave}" onclick="javascript:submitForm(document.editgroupform${groupIdx}, 'SV', null);"/></td>
                 </tr>
@@ -173,19 +173,19 @@ function submitForm(form, mode, value) {
                 <input type="hidden" name="itemIndex" value="${cartLineIndex}"/>
                 <td>
                   <div>
-                    <#if cartLine.getProductId()?exists>
+                    <#if cartLine.getProductId()??>
                       <#-- product item -->
                       <#-- start code to display a small image of the product -->
-                      <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher)?if_exists>
+                      <#assign smallImageUrl = Static["org.ofbiz.product.product.ProductContentWrapper"].getProductContentAsText(cartLine.getProduct(), "SMALL_IMAGE_URL", locale, dispatcher)!>
                       <#if !smallImageUrl?string?has_content><#assign smallImageUrl = "/images/defaultImage.jpg"></#if>
                       <#if smallImageUrl?string?has_content>
                         <a href="<@ofbizUrl>product?product_id=${cartLine.getProductId()}</@ofbizUrl>">
-                          <img src="<@ofbizContentUrl>${requestAttributes.contentPathPrefix?if_exists}${smallImageUrl}</@ofbizContentUrl>" class="cssImgSmall" alt="" />
+                          <img src="<@ofbizContentUrl>${requestAttributes.contentPathPrefix!}${smallImageUrl}</@ofbizContentUrl>" class="cssImgSmall" alt="" />
                         </a>
                       </#if>
                       <#-- end code to display a small image of the product -->
                       <a href="<@ofbizUrl>product?product_id=${cartLine.getProductId()}</@ofbizUrl>" class="buttontext">${cartLine.getProductId()} -
-                      ${cartLine.getName()?if_exists}</a> : ${cartLine.getDescription()?if_exists}
+                      ${cartLine.getName()!}</a> : ${cartLine.getDescription()!}
 
                       <#-- display the registered ship groups and quantity -->
                       <#assign itemShipGroups = cart.getShipGroups(cartLine)>
@@ -205,7 +205,7 @@ function submitForm(form, mode, value) {
 
                     <#else>
                       <#-- this is a non-product item -->
-                      <b>${cartLine.getItemTypeDescription()?if_exists}</b> : ${cartLine.getName()?if_exists}
+                      <b>${cartLine.getItemTypeDescription()!}</b> : ${cartLine.getName()!}
                     </#if>
                   </div>
 

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/startanoncheckout.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/startanoncheckout.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/startanoncheckout.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/order/startanoncheckout.ftl Sat Aug 16 08:40:28 2014
@@ -17,7 +17,7 @@ specific language governing permissions
 under the License.
 -->
 
-<#assign shoppingCart = sessionAttributes.shoppingCart?if_exists>
+<#assign shoppingCart = sessionAttributes.shoppingCart!>
 <#if shoppingCart?has_content>
     <#assign shoppingCartSize = shoppingCart.size()>
 <#else>

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/quote/CreateOrderQuote.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/quote/CreateOrderQuote.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/quote/CreateOrderQuote.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/quote/CreateOrderQuote.ftl Sat Aug 16 08:40:28 2014
@@ -18,7 +18,7 @@ under the License.
 -->
 
 <div>
-    <#if quote?exists>
+    <#if quote??>
         <#if quote.statusId == "QUO_APPROVED">
             <a href="<@ofbizUrl>loadCartFromQuote?quoteId=${quote.quoteId}&amp;finalizeMode=init</@ofbizUrl>" class="buttontext">${uiLabelMap.OrderCreateOrder}</a>
         <#else/>

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/quote/QuoteList.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/quote/QuoteList.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/quote/QuoteList.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/quote/QuoteList.ftl Sat Aug 16 08:40:28 2014
@@ -55,11 +55,11 @@ under the License.
                     </td>
                     <td width="10">&nbsp;</td>
                     <td>
-                        <div>${quote.quoteName?if_exists}</div>
+                        <div>${quote.quoteName!}</div>
                     </td>
                     <td width="10">&nbsp;</td>
                     <td>
-                        <div>${quote.description?if_exists}</div>
+                        <div>${quote.description!}</div>
                     </td>
                     <td width="10">&nbsp;</td>
                     <td>
@@ -67,9 +67,9 @@ under the License.
                     </td>
                     <td width="10">&nbsp;</td>
                     <td>
-                        <div><span style="white-space: nowrap;">${quote.issueDate?if_exists}</span></div>
-                        <div><span style="white-space: nowrap;">${quote.validFromDate?if_exists}</span></div>
-                        <div><span style="white-space: nowrap;">${quote.validThruDate?if_exists}</span></div>
+                        <div><span style="white-space: nowrap;">${quote.issueDate!}</span></div>
+                        <div><span style="white-space: nowrap;">${quote.validFromDate!}</span></div>
+                        <div><span style="white-space: nowrap;">${quote.validThruDate!}</span></div>
                     </td>
                     <td width="10">&nbsp;</td>
                     <td align="right">

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/request/RequestList.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/request/RequestList.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/request/RequestList.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/request/RequestList.ftl Sat Aug 16 08:40:28 2014
@@ -60,15 +60,15 @@ under the License.
                     </td>
                     <td width="10">&nbsp;</td>
                     <td>
-                        <div>${type.get("description",locale)?if_exists}</div>
+                        <div>${type.get("description",locale)!}</div>
                     </td>
                     <td width="10">&nbsp;</td>
                     <td>
-                        <div>${custRequest.custRequestName?if_exists}</div>
+                        <div>${custRequest.custRequestName!}</div>
                     </td>
                     <td width="10">&nbsp;</td>
                     <td>
-                        <div>${custRequest.description?if_exists}</div>
+                        <div>${custRequest.description!}</div>
                     </td>
                     <td width="10">&nbsp;</td>
                     <td>
@@ -76,9 +76,9 @@ under the License.
                     </td>
                     <td width="10">&nbsp;</td>
                     <td>
-                        <div><span style="white-space: nowrap;">${custRequest.custRequestDate?if_exists}</span></div>
-                        <div><span style="white-space: nowrap;">${custRequest.createdDate?if_exists}</span></div>
-                        <div><span style="white-space: nowrap;">${custRequest.lastModifiedDate?if_exists}</span></div>
+                        <div><span style="white-space: nowrap;">${custRequest.custRequestDate!}</span></div>
+                        <div><span style="white-space: nowrap;">${custRequest.createdDate!}</span></div>
+                        <div><span style="white-space: nowrap;">${custRequest.lastModifiedDate!}</span></div>
                     </td>
                     <td width="10">&nbsp;</td>
                     <td align="right">

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/request/requestInfo.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/request/requestInfo.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/request/requestInfo.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/request/requestInfo.ftl Sat Aug 16 08:40:28 2014
@@ -29,7 +29,7 @@ under the License.
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${(custRequestType.get("description",locale))?default(custRequest.custRequestTypeId?if_exists)}
+                    ${(custRequestType.get("description",locale))?default(custRequest.custRequestTypeId!)}
                 </td>
             </tr>
             <tr><td colspan="7"><hr /></td></tr>
@@ -40,7 +40,7 @@ under the License.
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${(statusItem.get("description", locale))?default(custRequest.statusId?if_exists)}
+                    ${(statusItem.get("description", locale))?default(custRequest.statusId!)}
                 </td>
             </tr>
             <#-- party -->
@@ -51,7 +51,7 @@ under the License.
                  </td>
                  <td width="5%">&nbsp;</td>
                  <td valign="top" width="80%">
-                    ${custRequest.fromPartyId?if_exists}
+                    ${custRequest.fromPartyId!}
                  </td>
             </tr>
             <#-- request name -->
@@ -62,7 +62,7 @@ under the License.
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${custRequest.custRequestName?if_exists}
+                    ${custRequest.custRequestName!}
                 </td>
             </tr>
             <#-- request description -->
@@ -73,7 +73,7 @@ under the License.
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${custRequest.description?if_exists}
+                    ${custRequest.description!}
                 </td>
             </tr>
             <#-- request currency -->
@@ -84,7 +84,7 @@ under the License.
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    <#if currency?exists>${currency.get("description", locale)?default(custRequest.maximumAmountUomId?if_exists)}</#if>
+                    <#if currency??>${currency.get("description", locale)?default(custRequest.maximumAmountUomId!)}</#if>
                 </td>
             </tr>
             <#-- request currency -->
@@ -95,7 +95,7 @@ under the License.
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    <#if store?exists>${store.storeName?default(custRequest.productStoreId?if_exists)}</#if>
+                    <#if store??>${store.storeName?default(custRequest.productStoreId!)}</#if>
                 </td>
             </tr>
             <#-- request comment -->
@@ -106,7 +106,7 @@ under the License.
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${custRequest.internalComment?if_exists}
+                    ${custRequest.internalComment!}
                 </td>
             </tr>
             <#-- request reason -->
@@ -117,7 +117,7 @@ under the License.
                 </td>
                 <td width="5%">&nbsp;</td>
                 <td valign="top" width="80%">
-                    ${custRequest.reason?if_exists}
+                    ${custRequest.reason!}
                 </td>
             </tr>
         </table>

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/request/requestRoles.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/request/requestRoles.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/request/requestRoles.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/request/requestRoles.ftl Sat Aug 16 08:40:28 2014
@@ -28,7 +28,7 @@ under the License.
             <#assign party = requestParty.getRelatedOne("Party", false)>
               <tr>
                   <td align="right" valign="top" width="15%" class="label">
-                      &nbsp;${roleType.get("description", locale)?if_exists}
+                      &nbsp;${roleType.get("description", locale)!}
                   </td>
                   <td width="5%">&nbsp;</td>
                   <td valign="top" width="80%">

Modified: ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/webapp/ecommerce/shoppinglist/editShoppingList.ftl Sat Aug 16 08:40:28 2014
@@ -62,20 +62,20 @@ under the License.
             <option value="#">${uiLabelMap.CommonPage} ${viewIndex?int} ${uiLabelMap.CommonOf} ${viewIndexMax}</option>
             <#if (viewIndex?int > 1)>
                 <#list 0..viewIndexMax as curViewNum>
-                     <option value="${shoppingListId?if_exists}~${viewSize}~${curViewNum?int + 1}">${uiLabelMap.CommonGotoPage} ${curViewNum + 1}</option>
+                     <option value="${shoppingListId!}~${viewSize}~${curViewNum?int + 1}">${uiLabelMap.CommonGotoPage} ${curViewNum + 1}</option>
                 </#list>
             </#if>
         </select>
         <#-- End Page Select Drop-Down -->
         
         <#if (viewIndex?int > 1)>
-            <a href="javascript: void(0);" onclick="callDocumentByPaginate('${shoppingListId?if_exists}~${viewSize}~${viewIndex?int - 1}');" class="buttontext">${uiLabelMap.CommonPrevious}</a> |
+            <a href="javascript: void(0);" onclick="callDocumentByPaginate('${shoppingListId!}~${viewSize}~${viewIndex?int - 1}');" class="buttontext">${uiLabelMap.CommonPrevious}</a> |
         </#if>
         <#if ((listSize?int - viewSize?int) > 0)>
             <span>${lowIndex} - ${highIndex} ${uiLabelMap.CommonOf} ${listSize}</span>
         </#if>
         <#if highIndex?int < listSize?int>
-         | <a href="javascript: void(0);" onclick="callDocumentByPaginate('${shoppingListId?if_exists}~${viewSize}~${viewIndex?int + 1}');" class="buttontext">${uiLabelMap.CommonNext}</a>
+         | <a href="javascript: void(0);" onclick="callDocumentByPaginate('${shoppingListId!}~${viewSize}~${viewIndex?int + 1}');" class="buttontext">${uiLabelMap.CommonNext}</a>
         </#if>
     </div>
 </#if>
@@ -129,7 +129,7 @@ under the License.
     <div class="screenlet-body">
         <form name="updateList" method="post" action="<@ofbizUrl>updateShoppingList</@ofbizUrl>">
             <input type="hidden" class="inputBox" name="shoppingListId" value="${shoppingList.shoppingListId}"/>
-            <input type="hidden" class="inputBox" name="partyId" value="${shoppingList.partyId?if_exists}"/>
+            <input type="hidden" class="inputBox" name="partyId" value="${shoppingList.partyId!}"/>
             <table border="0" width="100%" cellspacing="0" cellpadding="0">
               <tr>
                 <td><div class="tableheadtext">${uiLabelMap.EcommerceListName}</div></td>
@@ -137,13 +137,13 @@ under the License.
               </tr>
               <tr>
                 <td><div class="tableheadtext">${uiLabelMap.CommonDescription}</div></td>
-                <td><input type="text" class="inputBox" size="70" name="description" value="${shoppingList.description?if_exists}" />
+                <td><input type="text" class="inputBox" size="70" name="description" value="${shoppingList.description!}" />
               </tr>
               <tr>
                 <td><div class="tableheadtext">${uiLabelMap.OrderListType}</div></td>
                 <td>
                   <select name="shoppingListTypeId" class="selectBox">
-                      <#if shoppingListType?exists>
+                      <#if shoppingListType??>
                       <option value="${shoppingListType.shoppingListTypeId}">${shoppingListType.get("description",locale)?default(shoppingListType.shoppingListTypeId)}</option>
                       <option value="${shoppingListType.shoppingListTypeId}">--</option>
                     </#if>
@@ -181,7 +181,7 @@ under the License.
                 <td><div class="tableheadtext">${uiLabelMap.EcommerceParentList}</div></td>
                 <td>
                   <select name="parentShoppingListId" class="selectBox">
-                      <#if parentShoppingList?exists>
+                      <#if parentShoppingList??>
                       <option value="${parentShoppingList.shoppingListId}">${parentShoppingList.listName?default(parentShoppingList.shoppingListId)}</option>
                     </#if>
                     <option value="">${uiLabelMap.EcommerceNoParent}</option>
@@ -189,7 +189,7 @@ under the License.
                       <option value="${newParShoppingList.shoppingListId}">${newParShoppingList.listName?default(newParShoppingList.shoppingListId)}</option>
                     </#list>
                   </select>
-                  <#if parentShoppingList?exists>
+                  <#if parentShoppingList??>
                     <a href="<@ofbizUrl>editShoppingList?shoppingListId=${parentShoppingList.shoppingListId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonGotoParent} (${parentShoppingList.listName?default(parentShoppingList.shoppingListId)})</a>
                   </#if>
                 </td>
@@ -205,7 +205,7 @@ under the License.
     </div>
 </div>
 
-<#if shoppingListType?exists && shoppingListType.shoppingListTypeId == "SLT_AUTO_REODR">
+<#if shoppingListType?? && shoppingListType.shoppingListTypeId == "SLT_AUTO_REODR">
   <#assign nowTimestamp = Static["org.ofbiz.base.util.UtilDateTime"].monthBegin()>
 <div class="screenlet">
     <div class="screenlet-title-bar">
@@ -227,7 +227,7 @@ under the License.
                 <td><div class="tableheadtext">${uiLabelMap.EcommerceRecurrence}</div></td>
                 <td>
                   <#if recurrenceInfo?has_content>
-                    <#assign recurrenceRule = recurrenceInfo.getRelatedOne("RecurrenceRule", false)?if_exists>
+                    <#assign recurrenceRule = recurrenceInfo.getRelatedOne("RecurrenceRule", false)!>
                   </#if>
                   <select name="intervalNumber" class="selectBox">
                     <option value="">${uiLabelMap.EcommerceSelectInterval}</option>
@@ -249,12 +249,12 @@ under the License.
                 <td>&nbsp;</td>
                 <td><div class="tableheadtext">${uiLabelMap.CommonStartDate}</div></td>
                 <td>
-                  <@htmlTemplate.renderDateTimeField name="startDateTime" className="" event="" action="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(recurrenceInfo.startDateTime)?if_exists}" size="25" maxlength="30" id="startDateTime1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                  <@htmlTemplate.renderDateTimeField name="startDateTime" className="" event="" action="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(recurrenceInfo.startDateTime)!}" size="25" maxlength="30" id="startDateTime1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                 </td>
                 <td>&nbsp;</td>
                 <td><div class="tableheadtext">${uiLabelMap.CommonEndDate}</div></td>
                 <td>
-                  <@htmlTemplate.renderDateTimeField name="endDateTime" className="textBox" event="" action="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(recurrenceRule.untilDateTime)?if_exists}" size="25" maxlength="30" id="endDateTime1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
+                  <@htmlTemplate.renderDateTimeField name="endDateTime" className="textBox" event="" action="" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${(recurrenceRule.untilDateTime)!}" size="25" maxlength="30" id="endDateTime1" dateType="date" shortDateInput=false timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/>
                 </td>
                 <td>&nbsp;</td>
               </tr>
@@ -285,9 +285,9 @@ under the License.
                         <#assign shippingMethod = shipMeth.shipmentMethodTypeId + "@" + shipMeth.partyId>
                         <option value="${shippingMethod}"<#if shippingMethod == chosenShippingMethod> selected="selected"</#if>>
                           <#if shipMeth.partyId != "_NA_">
-                            ${shipMeth.partyId?if_exists}&nbsp;
+                            ${shipMeth.partyId!}&nbsp;
                           </#if>
-                          ${shipMeth.description?if_exists}
+                          ${shipMeth.description!}
                           <#if shippingEst?has_content>
                             &nbsp;-&nbsp;
                             <#if (shippingEst > -1)>
@@ -314,7 +314,7 @@ under the License.
                         <option value="${paymentMethod.paymentMethodId}" <#if (shoppingList.paymentMethodId)?default("") == paymentMethod.paymentMethodId>selected="selected"</#if>>CC:&nbsp;${Static["org.ofbiz.party.contact.ContactHelper"].formatCreditCard(creditCard)}</option>
                       <#elseif paymentMethod.paymentMethodTypeId == "EFT_ACCOUNT">
                         <#assign eftAccount = paymentMethod.getRelatedOne("EftAccount", false)>
-                        <option value="${paymentMethod.paymentMethodId}">EFT:&nbsp;${eftAccount.bankName?if_exists}: ${eftAccount.accountNumber?if_exists}</option>
+                        <option value="${paymentMethod.paymentMethodId}">EFT:&nbsp;${eftAccount.bankName!}: ${eftAccount.accountNumber!}</option>
                       </#if>
                     </#list>
                   </select>
@@ -336,15 +336,15 @@ under the License.
                 <tr><td colspan="9"><hr /></td></tr>
                 <tr>
                   <td colspan="9">
-                    <#assign nextTime = recInfo.next(lastSlOrderTime)?if_exists>
+                    <#assign nextTime = recInfo.next(lastSlOrderTime)!>
                     <#if nextTime?has_content>
-                      <#assign nextTimeStamp = Static["org.ofbiz.base.util.UtilDateTime"].getTimestamp(nextTime)?if_exists>
+                      <#assign nextTimeStamp = Static["org.ofbiz.base.util.UtilDateTime"].getTimestamp(nextTime)!>
                       <#if nextTimeStamp?has_content>
-                        <#assign nextTimeString = Static["org.ofbiz.base.util.UtilFormatOut"].formatDate(nextTimeStamp)?if_exists>
+                        <#assign nextTimeString = Static["org.ofbiz.base.util.UtilFormatOut"].formatDate(nextTimeStamp)!>
                       </#if>
                     </#if>
                     <#if lastSlOrderDate?has_content>
-                      <#assign lastOrderedString = Static["org.ofbiz.base.util.UtilFormatOut"].formatDate(lastSlOrderDate)?if_exists>
+                      <#assign lastOrderedString = Static["org.ofbiz.base.util.UtilFormatOut"].formatDate(lastSlOrderDate)!>
                     </#if>
                     <div>
                       <table cellspacing="2" cellpadding="2" border="0">
@@ -441,13 +441,13 @@ under the License.
                 <#assign productContentWrapper = Static["org.ofbiz.product.product.ProductContentWrapper"].makeProductContentWrapper(product, request)/>
                 <#assign unitPrice = shoppingListItemData.unitPrice/>
                 <#assign totalPrice = shoppingListItemData.totalPrice/>
-                <#assign productVariantAssocs = shoppingListItemData.productVariantAssocs?if_exists/>
-                <#assign isVirtual = product.isVirtual?exists && product.isVirtual.equals("Y")/>
+                <#assign productVariantAssocs = shoppingListItemData.productVariantAssocs!/>
+                <#assign isVirtual = product.isVirtual?? && product.isVirtual.equals("Y")/>
                   <tr>
                     <td>
                       <div>
                          <a href="<@ofbizUrl>product?product_id=${shoppingListItem.productId}</@ofbizUrl>" class="buttontext">${shoppingListItem.productId} -
-                         ${productContentWrapper.get("PRODUCT_NAME")?default("No Name")}</a> : ${productContentWrapper.get("DESCRIPTION")?if_exists}
+                         ${productContentWrapper.get("PRODUCT_NAME")?default("No Name")}</a> : ${productContentWrapper.get("DESCRIPTION")!}
                       </div>
                     </td>
                     <td nowrap="nowrap" align="center">
@@ -460,13 +460,13 @@ under the License.
                            <table border="0" width="100%">
                                 <tr>
                                     <td width="1%">&nbsp;</td>
-                                    <td><@htmlTemplate.renderDateTimeField event="" action="" name="reservStartStr" className="inputBox" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${shoppingListItem.reservStart?if_exists}" size="15" maxlength="30" id="reservStartStr_${shoppingListItem.shoppingListItemSeqId}" dateType="date" shortDateInput=true timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/></td>
-                                    <td><input type="text" class="inputBox" size="2" name="reservLength" value="${shoppingListItem.reservLength?if_exists}"/></td>
+                                    <td><@htmlTemplate.renderDateTimeField event="" action="" name="reservStartStr" className="inputBox" alert="" title="Format: yyyy-MM-dd HH:mm:ss.SSS" value="${shoppingListItem.reservStart!}" size="15" maxlength="30" id="reservStartStr_${shoppingListItem.shoppingListItemSeqId}" dateType="date" shortDateInput=true timeDropdownParamName="" defaultDateTimeString="" localizedIconTitle="" timeDropdown="" timeHourName="" classString="" hour1="" hour2="" timeMinutesName="" minutes="" isTwelveHour="" ampmName="" amSelected="" pmSelected="" compositeType="" formName=""/></td>
+                                    <td><input type="text" class="inputBox" size="2" name="reservLength" value="${shoppingListItem.reservLength!}"/></td>
                                 </tr>
                                 <tr>
                                 <#if product.productTypeId == "ASSET_USAGE">
                                     <td>&nbsp;</td>
-                                    <td><input type="text" class="inputBox" size="3" name="reservPersons" value="${shoppingListItem.reservPersons?if_exists}"/></td>
+                                    <td><input type="text" class="inputBox" size="3" name="reservPersons" value="${shoppingListItem.reservPersons!}"/></td>
                                 <#else>
                                     <td>&nbsp;</td>
                                     <td>&nbsp;</td>
@@ -502,8 +502,8 @@ under the License.
                         <a href="#" onclick="javascript:TimestampSubmit(listform_${shoppingListItem.shoppingListItemSeqId});" class="buttontext">${uiLabelMap.CommonUpdate}</a>
                         <a href="<@ofbizUrl>removeFromShoppingList?shoppingListId=${shoppingListItem.shoppingListId}&amp;shoppingListItemSeqId=${shoppingListItem.shoppingListItemSeqId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonRemove}</a>
                       <#if isVirtual && productVariantAssocs?has_content>
-                        <#assign replaceItemAction = "/replaceShoppingListItem/" + requestAttributes._CURRENT_VIEW_?if_exists>
-                        <#assign addToCartAction = "/additem/" + requestAttributes._CURRENT_VIEW_?if_exists>
+                        <#assign replaceItemAction = "/replaceShoppingListItem/" + requestAttributes._CURRENT_VIEW_!>
+                        <#assign addToCartAction = "/additem/" + requestAttributes._CURRENT_VIEW_!>
                         <br />
                         <form method="post" action="<@ofbizUrl>${addToCartAction}</@ofbizUrl>" name="listreplform_${shoppingListItem.shoppingListItemSeqId}" style="margin: 0;">
                           <input type="hidden" name="shoppingListId" value="${shoppingListItem.shoppingListId}"/>
@@ -512,7 +512,7 @@ under the License.
                           <select name="add_product_id" class="selectBox">
                               <#list productVariantAssocs as productVariantAssoc>
                                 <#assign variantProduct = productVariantAssoc.getRelatedOne("AssocProduct", true)>
-                                <#if variantProduct?exists>
+                                <#if variantProduct??>
                                 <#assign variantProductContentWrapper = Static["org.ofbiz.product.product.ProductContentWrapper"].makeProductContentWrapper(variantProduct, request)>
                                   <option value="${variantProduct.productId}">${variantProductContentWrapper.get("PRODUCT_NAME")?default("No Name")} [${variantProduct.productId}]</option>
                                 </#if>
@@ -524,7 +524,7 @@ under the License.
                           <a href="javascript:document.listreplform_${shoppingListItem.shoppingListItemSeqId}.action='<@ofbizUrl>${addToCartAction}</@ofbizUrl>';document.listreplform_${shoppingListItem.shoppingListItemSeqId}.submit();" class="buttontext">${uiLabelMap.CommonAdd}&nbsp;${shoppingListItem.quantity?string}&nbsp;${uiLabelMap.EcommerceVariationToCart}</a>
                         </form>
                       <#else>
-                        <a href="<@ofbizUrl>additem<#if requestAttributes._CURRENT_VIEW_?exists>/${requestAttributes._CURRENT_VIEW_}</#if>?shoppingListId=${shoppingListItem.shoppingListId}&amp;shoppingListItemSeqId=${shoppingListItem.shoppingListItemSeqId}&amp;quantity=${shoppingListItem.quantity}&amp;reservStart=${shoppingListItem.reservStart?if_exists}&amp;reservPersons=${shoppingListItem.reservPersons?if_exists}&amp;reservLength=${shoppingListItem.reservLength?if_exists}&amp;configId=${shoppingListItem.configId?if_exists}&amp;add_product_id=${shoppingListItem.productId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonAdd}&nbsp;${shoppingListItem.quantity?string}&nbsp;${uiLabelMap.OrderToCart}</a>
+                        <a href="<@ofbizUrl>additem<#if requestAttributes._CURRENT_VIEW_??>/${requestAttributes._CURRENT_VIEW_}</#if>?shoppingListId=${shoppingListItem.shoppingListId}&amp;shoppingListItemSeqId=${shoppingListItem.shoppingListItemSeqId}&amp;quantity=${shoppingListItem.quantity}&amp;reservStart=${shoppingListItem.reservStart!}&amp;reservPersons=${shoppingListItem.reservPersons!}&amp;reservLength=${shoppingListItem.reservLength!}&amp;configId=${shoppingListItem.configId!}&amp;add_product_id=${shoppingListItem.productId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonAdd}&nbsp;${shoppingListItem.quantity?string}&nbsp;${uiLabelMap.OrderToCart}</a>
                       </#if>
                     </td>
                   </tr>
@@ -591,8 +591,8 @@ under the License.
     <div class="screenlet-body">
         <form name="addToShoppingList" method="post" action="<@ofbizUrl>addItemToShoppingList</@ofbizUrl>">
           <input type="hidden" name="shoppingListId" value="${shoppingList.shoppingListId}"/>
-          <input type="text" class="inputBox" name="productId" value="${requestParameters.add_product_id?if_exists}"/>
-          <#if reservStart?exists></td><td>${uiLabelMap.EcommerceStartDate}</td><td><input type="text" class="inputBox" size="10" name="reservStart" value="${requestParameters.reservStart?default("")}" /></td><td> ${uiLabelMap.EcommerceLength}:</td><td><input type="text" class="inputBox" size="2" name="reservLength" value="${requestParameters.reservLength?default("")}" /></td></tr><tr><td>&nbsp;</td><td>&nbsp;</td><td>${uiLabelMap.OrderNbrPersons}:</td><td><input type="text" class="inputBox" size="3" name="reservPersons" value="${requestParameters.reservPersons?default("1")}" /></td><td nowrap="nowrap"></#if> ${uiLabelMap.CommonQuantity} :</td><td><input type="text" class="inputBox" size="5" name="quantity" value="${requestParameters.quantity?default("1")}" /></td><td>
+          <input type="text" class="inputBox" name="productId" value="${requestParameters.add_product_id!}"/>
+          <#if reservStart??></td><td>${uiLabelMap.EcommerceStartDate}</td><td><input type="text" class="inputBox" size="10" name="reservStart" value="${requestParameters.reservStart?default("")}" /></td><td> ${uiLabelMap.EcommerceLength}:</td><td><input type="text" class="inputBox" size="2" name="reservLength" value="${requestParameters.reservLength?default("")}" /></td></tr><tr><td>&nbsp;</td><td>&nbsp;</td><td>${uiLabelMap.OrderNbrPersons}:</td><td><input type="text" class="inputBox" size="3" name="reservPersons" value="${requestParameters.reservPersons?default("1")}" /></td><td nowrap="nowrap"></#if> ${uiLabelMap.CommonQuantity} :</td><td><input type="text" class="inputBox" size="5" name="quantity" value="${requestParameters.quantity?default("1")}" /></td><td>
           <!-- <input type="text" class="inputBox" size="5" name="quantity" value="${requestParameters.quantity?default("1")}" />-->
           <input type="submit" class="smallSubmit" value="${uiLabelMap.OrderAddToShoppingList}"/>
         </form>

Modified: ofbiz/trunk/specialpurpose/example/webapp/appheader.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/example/webapp/appheader.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/example/webapp/appheader.ftl (original)
+++ ofbiz/trunk/specialpurpose/example/webapp/appheader.ftl Sat Aug 16 08:40:28 2014
@@ -31,7 +31,7 @@ under the License.
         <#if portalPages?has_content>
             <#list portalPages as page>
               <#if page.portalPageName?has_content>
-                <li<#if selected = "${page.portalPageId}"> class="selected"</#if>><a href="<@ofbizUrl>showPortalPage?portalPageId=${page.portalPageId}</@ofbizUrl>"><#if page.portalPageName?exists>${page.portalPageName}<#else>?</#if></a></li>
+                <li<#if selected = "${page.portalPageId}"> class="selected"</#if>><a href="<@ofbizUrl>showPortalPage?portalPageId=${page.portalPageId}</@ofbizUrl>"><#if page.portalPageName??>${page.portalPageName}<#else>?</#if></a></li>
               </#if>
             </#list>
         </#if>

Modified: ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/find/GoogleBaseAdvancedSearch.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/find/GoogleBaseAdvancedSearch.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/find/GoogleBaseAdvancedSearch.ftl (original)
+++ ofbiz/trunk/specialpurpose/googlebase/webapp/googlebase/find/GoogleBaseAdvancedSearch.ftl Sat Aug 16 08:40:28 2014
@@ -65,14 +65,14 @@ under the License.
         <input type="hidden" name="noConditionFind" value="Y"/>
         <table cellspacing="0" class="basic-table">
           <#if searchCategory?has_content>
-            <input type="hidden" name="SEARCH_CATEGORY_ID" value="${searchCategoryId?if_exists}"/>
+            <input type="hidden" name="SEARCH_CATEGORY_ID" value="${searchCategoryId!}"/>
             <tr>
               <td class="label" align="right" valign="middle">
                 ${uiLabelMap.ProductCategory}:
               </td>
               <td valign="middle">
                 <div>
-                  <b>"${(searchCategory.description)?if_exists}" [${(searchCategory.productCategoryId)?if_exists}]</b> ${uiLabelMap.ProductIncludeSubCategories}
+                  <b>"${(searchCategory.description)!}" [${(searchCategory.productCategoryId)!}]</b> ${uiLabelMap.ProductIncludeSubCategories}
                   ${uiLabelMap.CommonYes}<input type="radio" name="SEARCH_SUB_CATEGORIES" value="Y" checked="checked"/>
                   ${uiLabelMap.CommonNo}<input type="radio" name="SEARCH_SUB_CATEGORIES" value="N"/>
                 </div>
@@ -92,7 +92,7 @@ under the License.
                       <#if (18 < displayDesc?length)>
                          <#assign displayDesc = displayDesc[0..15] + "...">
                        </#if>
-                       <option value="${productStore.productStoreId}" <#if productStoreId?if_exists == productStore.productStoreId> selected="selected"</#if>>${displayDesc} [${productStore.productStoreId}]</option>
+                       <option value="${productStore.productStoreId}" <#if productStoreId! == productStore.productStoreId> selected="selected"</#if>>${displayDesc} [${productStore.productStoreId}]</option>
                      </#list>
                   </#if>
                 </select>
@@ -111,7 +111,7 @@ under the License.
                       <#if (18 < displayDesc?length)>
                         <#assign displayDesc = displayDesc[0..15] + "...">
                       </#if>
-                      <option value="${prodCatalog.prodCatalogId}" <#if searchCatalogId?if_exists == prodCatalog.prodCatalogId> selected="selected"</#if>>${displayDesc} [${prodCatalog.prodCatalogId}]</option>
+                      <option value="${prodCatalog.prodCatalogId}" <#if searchCatalogId! == prodCatalog.prodCatalogId> selected="selected"</#if>>${displayDesc} [${prodCatalog.prodCatalogId}]</option>
                     </#list>
                   </select>
                   <span id="catalogErrorMessage" style="display:none;" class="errorMessage">${uiLabelMap.CommonRequired}</span>
@@ -137,7 +137,7 @@ under the License.
                       </#list>
                     </select>
                   <#else>
-                    <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="advToKeywordSearchform" name="SEARCH_CATEGORY_ID" id="searchCategoryId" fieldFormName="LookupProductCategory"/>
+                    <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID!}" formName="advToKeywordSearchform" name="SEARCH_CATEGORY_ID" id="searchCategoryId" fieldFormName="LookupProductCategory"/>
                   </#if>
                   ${uiLabelMap.ProductIncludeSubCategories}
                   ${uiLabelMap.CommonYes}<input type="radio" name="SEARCH_SUB_CATEGORIES" value="Y" checked="checked" />
@@ -177,7 +177,7 @@ under the License.
             </td>
             <td valign="middle">
               <div>
-                <input type="text" name="SEARCH_PRODUCT_NAME" size="20" value="${requestParameters.SEARCH_PRODUCT_NAME?if_exists}" />
+                <input type="text" name="SEARCH_PRODUCT_NAME" size="20" value="${requestParameters.SEARCH_PRODUCT_NAME!}" />
               </div>
             </td>
           </tr>
@@ -187,7 +187,7 @@ under the License.
             </td>
             <td valign="middle">
               <div>
-                <input type="text" name="SEARCH_INTERNAL_PROD_NAME" size="20" value="${requestParameters.SEARCH_INTERNAL_PROD_NAME?if_exists}" />
+                <input type="text" name="SEARCH_INTERNAL_PROD_NAME" size="20" value="${requestParameters.SEARCH_INTERNAL_PROD_NAME!}" />
               </div>
             </td>
           </tr>
@@ -197,7 +197,7 @@ under the License.
             </td>
             <td valign="middle">
               <div>
-                <input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING?if_exists}" />&nbsp;
+                <input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING!}" />&nbsp;
                 ${uiLabelMap.CommonAny}<input type="radio" name="SEARCH_OPERATOR" value="OR" <#if searchOperator == "OR">checked="checked"</#if> />
                 ${uiLabelMap.CommonAll}<input type="radio" name="SEARCH_OPERATOR" value="AND" <#if searchOperator == "AND">checked="checked"</#if> />
               </div>
@@ -209,19 +209,19 @@ under the License.
             </td>
             <td valign="middle">
               <div>
-                <input type="text" name="SEARCH_PROD_FEAT_CAT1" size="15" value="${requestParameters.SEARCH_PROD_FEAT_CAT1?if_exists}" />&nbsp;
+                <input type="text" name="SEARCH_PROD_FEAT_CAT1" size="15" value="${requestParameters.SEARCH_PROD_FEAT_CAT1!}" />&nbsp;
                 ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC1" value="" checked="checked" />
                 ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC1" value="Y" />
                 ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC1" value="N" />
               </div>
               <div>
-                <input type="text" name="SEARCH_PROD_FEAT_CAT2" size="15" value="${requestParameters.SEARCH_PROD_FEAT_CAT2?if_exists}" />&nbsp;
+                <input type="text" name="SEARCH_PROD_FEAT_CAT2" size="15" value="${requestParameters.SEARCH_PROD_FEAT_CAT2!}" />&nbsp;
                 ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC2" value="" checked="checked" />
                 ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC2" value="Y" />
                 ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC2" value="N" />
               </div>
               <div>
-                <input type="text" name="SEARCH_PROD_FEAT_CAT3" size="15" value="${requestParameters.SEARCH_PROD_FEAT_CAT3?if_exists}" />&nbsp;
+                <input type="text" name="SEARCH_PROD_FEAT_CAT3" size="15" value="${requestParameters.SEARCH_PROD_FEAT_CAT3!}" />&nbsp;
                 ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC3" value="" checked="checked" />
                 ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC3" value="Y" />
                 ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_PROD_FEAT_CAT_EXC3" value="N" />
@@ -234,19 +234,19 @@ under the License.
             </td>
             <td valign="middle">
               <div>
-                <input type="text" name="SEARCH_PROD_FEAT_GRP1" size="15" value="${requestParameters.SEARCH_PROD_FEAT_GRP1?if_exists}" />&nbsp;
+                <input type="text" name="SEARCH_PROD_FEAT_GRP1" size="15" value="${requestParameters.SEARCH_PROD_FEAT_GRP1!}" />&nbsp;
                 ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC1" value="" checked="checked" />
                 ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC1" value="Y" />
                 ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC1" value="N" />
               </div>
               <div>
-                <input type="text" name="SEARCH_PROD_FEAT_GRP2" size="15" value="${requestParameters.SEARCH_PROD_FEAT_GRP2?if_exists}" />&nbsp;
+                <input type="text" name="SEARCH_PROD_FEAT_GRP2" size="15" value="${requestParameters.SEARCH_PROD_FEAT_GRP2!}" />&nbsp;
                 ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC2" value="" checked="checked" />
                 ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC2" value="Y" />
                 ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC2" value="N" />
               </div>
               <div>
-                <input type="text" name="SEARCH_PROD_FEAT_GRP3" size="15" value="${requestParameters.SEARCH_PROD_FEAT_GRP3?if_exists}" />&nbsp;
+                <input type="text" name="SEARCH_PROD_FEAT_GRP3" size="15" value="${requestParameters.SEARCH_PROD_FEAT_GRP3!}" />&nbsp;
                 ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC3" value="" checked="checked" />
                 ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC3" value="Y" />
                 ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_PROD_FEAT_GRP_EXC3" value="N" />
@@ -259,19 +259,19 @@ under the License.
             </td>
             <td valign="middle">
               <div>
-                <input type="text" name="SEARCH_FEAT1" size="15" value="${requestParameters.SEARCH_FEAT1?if_exists}" />&nbsp;
+                <input type="text" name="SEARCH_FEAT1" size="15" value="${requestParameters.SEARCH_FEAT1!}" />&nbsp;
                 ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_FEAT_EXC1" value="" checked="checked" />
                 ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_FEAT_EXC1" value="Y" />
                 ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_FEAT_EXC1" value="N" />
               </div>
               <div>
-                <input type="text" name="SEARCH_FEAT2" size="15" value="${requestParameters.SEARCH_FEAT2?if_exists}" />&nbsp;
+                <input type="text" name="SEARCH_FEAT2" size="15" value="${requestParameters.SEARCH_FEAT2!}" />&nbsp;
                 ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_FEAT_EXC2" value="" checked="checked" />
                 ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_FEAT_EXC2" value="Y" />
                 ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_FEAT_EXC2" value="N" />
               </div>
               <div>
-                <input type="text" name="SEARCH_FEAT3" size="15" value="${requestParameters.SEARCH_FEAT3?if_exists}" />&nbsp;
+                <input type="text" name="SEARCH_FEAT3" size="15" value="${requestParameters.SEARCH_FEAT3!}" />&nbsp;
                 ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_FEAT_EXC3" value="" checked="checked" />
                 ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_FEAT_EXC3" value="Y" />
                 ${uiLabelMap.CommonAlwaysInclude}<input type="radio" name="SEARCH_FEAT_EXC3" value="N" />
@@ -284,8 +284,8 @@ under the License.
             </td>
             <td valign="middle">
               <div>
-                <input type="text" name="LIST_PRICE_LOW" size="8" value="${requestParameters.LIST_PRICE_LOW?if_exists}" />&nbsp;
-                <input type="text" name="LIST_PRICE_HIGH" size="8" value="${requestParameters.LIST_PRICE_HIGH?if_exists}" />&nbsp;
+                <input type="text" name="LIST_PRICE_LOW" size="8" value="${requestParameters.LIST_PRICE_LOW!}" />&nbsp;
+                <input type="text" name="LIST_PRICE_HIGH" size="8" value="${requestParameters.LIST_PRICE_HIGH!}" />&nbsp;
               </div>
             </td>
           </tr>
@@ -295,7 +295,7 @@ under the License.
             <#assign productFeatures = productFeaturesByTypeMap[productFeatureTypeId] />
             <tr>
               <td class="label" align="right" valign="middle">
-                ${(productFeatureType.get("description",locale))?if_exists}:
+                ${(productFeatureType.get("description",locale))!}:
               </td>
               <td valign="middle">
                 <div>
@@ -318,7 +318,7 @@ under the License.
                 <select name="SEARCH_SUPPLIER_ID">
                   <option value="">- ${uiLabelMap.CommonSelectAny} -</option>
                   <#list supplerPartyRoleAndPartyDetails as supplerPartyRoleAndPartyDetail>
-                    <option value="${supplerPartyRoleAndPartyDetail.partyId}">${supplerPartyRoleAndPartyDetail.groupName?if_exists} ${supplerPartyRoleAndPartyDetail.firstName?if_exists} ${supplerPartyRoleAndPartyDetail.lastName?if_exists} [${supplerPartyRoleAndPartyDetail.partyId}]</option>
+                    <option value="${supplerPartyRoleAndPartyDetail.partyId}">${supplerPartyRoleAndPartyDetail.groupName!} ${supplerPartyRoleAndPartyDetail.firstName!} ${supplerPartyRoleAndPartyDetail.lastName!} [${supplerPartyRoleAndPartyDetail.partyId}]</option>
                   </#list>
                 </select>
               </div>
@@ -353,7 +353,7 @@ under the License.
               ${uiLabelMap.ProductPrioritizeProductsInCategory}:
             </td>
             <td valign="middle">
-              <@htmlTemplate.lookupField value="${requestParameters.PRIORITIZE_CATEGORY_ID?if_exists}" formName="advToKeywordSearchform" name="PRIORITIZE_CATEGORY_ID" id="PRIORITIZE_CATEGORY_ID" fieldFormName="LookupProductCategory"/>
+              <@htmlTemplate.lookupField value="${requestParameters.PRIORITIZE_CATEGORY_ID!}" formName="advToKeywordSearchform" name="PRIORITIZE_CATEGORY_ID" id="PRIORITIZE_CATEGORY_ID" fieldFormName="LookupProductCategory"/>
             </td>
           </tr>
           <tr>
@@ -364,7 +364,7 @@ under the License.
               <select name="SEARCH_GOOD_IDENTIFICATION_TYPE">
                 <option value="">- ${uiLabelMap.CommonSelectAny} -</option>
                 <#list goodIdentificationTypes as goodIdentificationType>
-                  <option value="${goodIdentificationType.goodIdentificationTypeId}">${goodIdentificationType.get("description")?if_exists}</option>
+                  <option value="${goodIdentificationType.goodIdentificationTypeId}">${goodIdentificationType.get("description")!}</option>
                 </#list>
               </select>
             </td>
@@ -374,7 +374,7 @@ under the License.
               ${uiLabelMap.ProductGoodIdentificationValue}:
             </td>
             <td>
-              <input type="text" name="SEARCH_GOOD_IDENTIFICATION_VALUE" size="60" maxlength="60" value="${requestParameters.SEARCH_GOOD_IDENTIFICATION_VALUE?if_exists}" />
+              <input type="text" name="SEARCH_GOOD_IDENTIFICATION_VALUE" size="60" maxlength="60" value="${requestParameters.SEARCH_GOOD_IDENTIFICATION_VALUE!}" />
               ${uiLabelMap.CommonInclude}<input type="radio" name="SEARCH_GOOD_IDENTIFICATION_INCL" value="Y" checked="checked" />
               ${uiLabelMap.CommonExclude}<input type="radio" name="SEARCH_GOOD_IDENTIFICATION_INCL" value="N" />
             </td>

Modified: ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/redirect/redirectHeader.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/redirect/redirectHeader.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/redirect/redirectHeader.ftl (original)
+++ ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/redirect/redirectHeader.ftl Sat Aug 16 08:40:28 2014
@@ -17,7 +17,7 @@ specific language governing permissions
 under the License.
 -->
 
-<#if parameters.redirect?exists>
+<#if parameters.redirect??>
 <html>
 <head>
 <meta HTTP-EQUIV="REFRESH" content="0; url=${parameters.redirect}"/>

Modified: ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/merchantCalculations.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/merchantCalculations.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/merchantCalculations.ftl (original)
+++ ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/merchantCalculations.ftl Sat Aug 16 08:40:28 2014
@@ -17,7 +17,7 @@ specific language governing permissions
 under the License.
 -->
 
-<#if flowSupport.merchantCalculations?exists>
+<#if flowSupport.merchantCalculations??>
 <merchant-calculations>
     <merchant-calculations-url>${flowSupport.merchantCalulations.url}</merchant-calculations-url>
     <accept-merchant-coupons>${flowSupport.merchantCalculations.acceptCoupons?default("false")}</accept-merchant-coupons>

Modified: ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/shippingMethods.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/shippingMethods.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/shippingMethods.ftl (original)
+++ ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/shippingMethods.ftl Sat Aug 16 08:40:28 2014
@@ -19,16 +19,16 @@ under the License.
 
 <#--TODO: merchant-calculated-shipping cannot be mixed with flat-shipping or pickup, change accordingly -->
 
-<#if flowSupport.shippingMethods?exists>
+<#if flowSupport.shippingMethods??>
 <shipping-methods>
 <#list flowSupport.shippingMethods as shippingMethod>
     <#if shippingMethod.type="flatRate">
     <flat-rate-shipping name="${shippingMethod.name}">
         <price currency="USD">${shippingMethod.price}</price>
-        <#if shippingMethod.restrictions?exists>
+        <#if shippingMethod.restrictions??>
         <#list shippingMethod.restrictions as restriction>
         <shipping-restrictions>
-            <#if restriction.allowed?exists>
+            <#if restriction.allowed??>
             <allowed-areas>
                 <#list resitriction.allowed as allow>
                 <#if allow.type="state">
@@ -49,7 +49,7 @@ under the License.
                 </#list>
             </allowed-areas>
             </#if>
-            <#if restriction.excluded?exists>
+            <#if restriction.excluded??>
             <excluded-areas>
                 <#list resitriction.excluded as exclude>
                 <#if exclude.type="state">
@@ -77,10 +77,10 @@ under the License.
     <#elseif shippingMethod.type="merchantCalculated">
     <merchant-calculated-shipping name="${shippingMethod.name}">
         <price currency="USD">${shippingMethod.price}</price>
-        <#if shippingMethod.restrictions?exists>
+        <#if shippingMethod.restrictions??>
         <#list shippingMethod.restrictions as restriction>
         <shipping-restrictions>
-            <#if restriction.allowed?exists>
+            <#if restriction.allowed??>
             <allowed-areas>
                 <#list resitriction.allowed as allow>
                 <#if allow.type="state">
@@ -101,7 +101,7 @@ under the License.
                 </#list>
             </allowed-areas>
             </#if>
-            <#if restriction.excluded?exists>
+            <#if restriction.excluded??>
             <excluded-areas>
                 <#list resitriction.excluded as exclude>
                 <#if exclude.type="state">

Modified: ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/simpleFlow.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/simpleFlow.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/simpleFlow.ftl (original)
+++ ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/simpleFlow.ftl Sat Aug 16 08:40:28 2014
@@ -17,9 +17,9 @@ specific language governing permissions
 under the License.
 -->
 
-<#if flowSupport.editCartUrl?exists>
+<#if flowSupport.editCartUrl??>
 <edit-cart-url>${flowSupport.editCartUrl}</edit-cart-url>
 </#if>
-<#if flowSupport.continueShoppingUrl?exists>
+<#if flowSupport.continueShoppingUrl??>
 <continue-shopping-url>${flowSupport.continueShoppingUrl}</continue-shopping-url>
 </#if>

Modified: ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/taxTables.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/taxTables.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/taxTables.ftl (original)
+++ ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/checkoutFlowSupport/taxTables.ftl Sat Aug 16 08:40:28 2014
@@ -22,13 +22,13 @@ under the License.
         <tax-rules>
             <#list flowSupport.taxTables.default.rules as rule>
             <default-tax-rule>
-                <#if rule.shippingTaxed?exists>
+                <#if rule.shippingTaxed??>
                 <shipping-taxed>${rule.shippingTaxed}</shipping-taxed>
                 </#if>
                 <rate>${rule.rate}</rate>
                 <tax-area>
                     <#if rule.areaType="states">
-                    <#if rule.allowedAreas?exists>
+                    <#if rule.allowedAreas??>
                     <allowed-areas>
                         <us-state-area>
                         <#list rule.allowedAreas as allowed>
@@ -37,7 +37,7 @@ under the License.
                         </us-state-area>
                     </allowed-areas>
                     </#if>
-                    <#if rule.excludedAreas?exists>
+                    <#if rule.excludedAreas??>
                     <excluded-areas>
                         <us-state-area>
                         <#list rule.excludedAreas as excluded>
@@ -47,7 +47,7 @@ under the License.
                     </excluded-areas>
                     </#if>
                     <#elseif rule.areaType="zips">
-                    <#if rule.allowedAreas?exists>
+                    <#if rule.allowedAreas??>
                     <allowed-areas>
                         <us-zip-area>
                         <#list rule.allowedAreas as allowed>
@@ -56,7 +56,7 @@ under the License.
                         </us-zip-area>
                     </allowed-areas>
                     </#if>
-                    <#if rule.excludedAreas?exists>
+                    <#if rule.excludedAreas??>
                     <excluded-areas>
                         <us-zip-area>
                         <#list rule.excludedAreas as excluded>
@@ -73,7 +73,7 @@ under the License.
             </#list>
         </tax-rules>
     </default-tax-table>
-    <#if flowSupport.taxTables.alternateTaxTables?exists>
+    <#if flowSupport.taxTables.alternateTaxTables??>
     <alternate-tax-tables>
         <#list flowSupport.taxTables.alternateTaxTables as altTaxTable>
         <alternate-tax-table name="${altTaxTable.name}" standalone="${altTaxTable.standalone}">
@@ -83,7 +83,7 @@ under the License.
                     <rate>${altRule.rate}</rate>
                     <tax-area>
                         <#if altRule.areaType="states">
-                        <#if altRule.allowedAreas?exists>
+                        <#if altRule.allowedAreas??>
                         <allowed-areas>
                             <us-state-area>
                                 <#list altRule.allowedAreas as altAllowed>
@@ -92,7 +92,7 @@ under the License.
                             </us-state-area>
                         </allowed-areas>
                         </#if>
-                        <#if altRule.excludedAreas?exists>
+                        <#if altRule.excludedAreas??>
                         <excluded-areas>
                             <us-state-area>
                                 <#list altRule.excludedAreas as altExcluded>
@@ -102,7 +102,7 @@ under the License.
                         </excluded-areas>
                         </#if>
                         <#elseif rule.areaType="zips">
-                        <#if altRule.allowedAreas?exists>
+                        <#if altRule.allowedAreas??>
                         <allowed-areas>
                             <us-zip-area>
                                 <#list altRule.allowedAreas as altAllowed>
@@ -111,7 +111,7 @@ under the License.
                             </us-zip-area>
                         </allowed-areas>
                         </#if>
-                        <#if altRule.excludedAreas?exists>
+                        <#if altRule.excludedAreas??>
                         <excluded-areas>
                             <us-zip-area>
                                 <#list altRule.excludedAreas as altExcluded>

Modified: ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/shoppingCart/items.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/shoppingCart/items.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/shoppingCart/items.ftl (original)
+++ ofbiz/trunk/specialpurpose/googlecheckout/webapp/googlecheckout/templates/shoppingCart/items.ftl Sat Aug 16 08:40:28 2014
@@ -25,17 +25,17 @@ under the License.
         <unit-price currency="USD">${item.unitPrice}</unit-price>
         <quantity>${item.quantity}</quantity>
 
-        <#if item.merchantItemId?exists>
+        <#if item.merchantItemId??>
             <merchantItemId>${item.merchantItemId}</merchantItemId>
         </#if>
-        <#if item.merchantPrivateItemData?exists>
+        <#if item.merchantPrivateItemData??>
         <merchant-private-item-data>
             <#list item.merchantPrivateItemData as itemData>
                 <${itemData.name}>${itemData.value}</${itemData.name}>
             </#list>
         </merchant-private-item-data>
         </#if>
-        <#if item.taxTable?exists>
+        <#if item.taxTable??>
         <tax-table-selector>${taxTable}</tax-table-selector>
         </#if>
     </item>

Modified: ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/facilities.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/facilities.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/facilities.ftl (original)
+++ ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/facilities.ftl Sat Aug 16 08:40:28 2014
@@ -25,7 +25,7 @@ under the License.
        <#-- Each entry will have a html form. Set action to null so previous link be used -->
         <form>
           <input type="hidden" name="facilityId" value="${facility.facilityId}"/>
-          <input type="submit" value="${facility.facilityName?if_exists}"/>
+          <input type="submit" value="${facility.facilityName!}"/>
         </form>      
       </li>
     </#list>

Modified: ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/includes/header.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/includes/header.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/includes/header.ftl (original)
+++ ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/includes/header.ftl Sat Aug 16 08:40:28 2014
@@ -25,7 +25,7 @@ under the License.
   <head>
     <meta charset="utf-8" />
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
-    <title>${applicationTitle?if_exists}</title>
+    <title>${applicationTitle!}</title>
     <#if layoutSettings.javaScripts?has_content>
         <#assign javaScriptsSet = Static["org.ofbiz.base.util.UtilMisc"].toSet(layoutSettings.javaScripts)/>
         <#list layoutSettings.javaScripts as javaScript>
@@ -43,6 +43,6 @@ under the License.
   </head>
   <body>
     <div data-role="header">
-      <a href="<@ofbizUrl>/menu?facilityId=${parameters.facilityId?if_exists}</@ofbizUrl>">Main</a>
-      <h1>${title?if_exists}</h1>
+      <a href="<@ofbizUrl>/menu?facilityId=${parameters.facilityId!}</@ofbizUrl>">Main</a>
+      <h1>${title!}</h1>
     </div>

Modified: ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/includes/messages.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/includes/messages.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/includes/messages.ftl (original)
+++ ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/includes/messages.ftl Sat Aug 16 08:40:28 2014
@@ -19,20 +19,20 @@ under the License.
 
 <#if requestAttributes.errorMessageList?has_content><#assign errorMessageList=requestAttributes.errorMessageList></#if>
 <#if requestAttributes.eventMessageList?has_content><#assign eventMessageList=requestAttributes.eventMessageList></#if>
-<#if requestAttributes.serviceValidationException?exists><#assign serviceValidationException = requestAttributes.serviceValidationException></#if>
+<#if requestAttributes.serviceValidationException??><#assign serviceValidationException = requestAttributes.serviceValidationException></#if>
 <#if requestAttributes.uiLabelMap?has_content><#assign uiLabelMap = requestAttributes.uiLabelMap></#if>
 
 <#if !errorMessage?has_content>
-  <#assign errorMessage = requestAttributes._ERROR_MESSAGE_?if_exists>
+  <#assign errorMessage = requestAttributes._ERROR_MESSAGE_!>
 </#if>
 <#if !errorMessageList?has_content>
-  <#assign errorMessageList = requestAttributes._ERROR_MESSAGE_LIST_?if_exists>
+  <#assign errorMessageList = requestAttributes._ERROR_MESSAGE_LIST_!>
 </#if>
 <#if !eventMessage?has_content>
-  <#assign eventMessage = requestAttributes._EVENT_MESSAGE_?if_exists>
+  <#assign eventMessage = requestAttributes._EVENT_MESSAGE_!>
 </#if>
 <#if !eventMessageList?has_content>
-  <#assign eventMessageList = requestAttributes._EVENT_MESSAGE_LIST_?if_exists>
+  <#assign eventMessageList = requestAttributes._EVENT_MESSAGE_LIST_!>
 </#if>
 
 <#-- display the error messages -->

Modified: ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/login.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/login.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/login.ftl (original)
+++ ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/login.ftl Sat Aug 16 08:40:28 2014
@@ -36,7 +36,7 @@ under the License.
   <#if ("Y" == useMultitenant)>
     <div data-role="fieldcontainer">
       <label for="tenantId">${uiLabelMap.CommonTenantId}</label>
-      <input type="text" id="tenantId" name="tenantId" value="${parameters.tenantId?if_exists}" size="20"/>
+      <input type="text" id="tenantId" name="tenantId" value="${parameters.tenantId!}" size="20"/>
     </div>
   </#if>
   <input type="submit" value="${uiLabelMap.CommonLogin}" class="loginButton" />

Modified: ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/menu.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/menu.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/menu.ftl (original)
+++ ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/menu.ftl Sat Aug 16 08:40:28 2014
@@ -19,11 +19,11 @@ under the License.
 
 <div data-role="content">
 <ul data-role="listview">
-<li><a accesskey="1" href="<@ofbizUrl>/receipt?facilityId=${parameters.facilityId?if_exists}</@ofbizUrl>">Goods Receipt</a></li>
-<li><a accesskey="2" href="<@ofbizUrl>/movement?facilityId=${parameters.facilityId?if_exists}</@ofbizUrl>">Inventory Movement</a></li>
-<li><a accesskey="3" href="<@ofbizUrl>/picking?facilityId=${parameters.facilityId?if_exists}</@ofbizUrl>">Picking</a></li>
-<li><a accesskey="4" href="<@ofbizUrl>/packing?facilityId=${parameters.facilityId?if_exists}</@ofbizUrl>">Packing</a></li>
-<li><a accesskey="5" href="<@ofbizUrl>/stocktake?facilityId=${parameters.facilityId?if_exists}</@ofbizUrl>">Stocktake</a></li>
+<li><a accesskey="1" href="<@ofbizUrl>/receipt?facilityId=${parameters.facilityId!}</@ofbizUrl>">Goods Receipt</a></li>
+<li><a accesskey="2" href="<@ofbizUrl>/movement?facilityId=${parameters.facilityId!}</@ofbizUrl>">Inventory Movement</a></li>
+<li><a accesskey="3" href="<@ofbizUrl>/picking?facilityId=${parameters.facilityId!}</@ofbizUrl>">Picking</a></li>
+<li><a accesskey="4" href="<@ofbizUrl>/packing?facilityId=${parameters.facilityId!}</@ofbizUrl>">Packing</a></li>
+<li><a accesskey="5" href="<@ofbizUrl>/stocktake?facilityId=${parameters.facilityId!}</@ofbizUrl>">Stocktake</a></li>
 </ul>
 </div>
 

Modified: ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/productstocktake.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/productstocktake.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/productstocktake.ftl (original)
+++ ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/productstocktake.ftl Sat Aug 16 08:40:28 2014
@@ -21,9 +21,9 @@ under the License.
 
 <span>
 <#if negativeQOH?has_content>
-    <a href="<@ofbizUrl>/fixproductnegativeqoh?facilityId=${facility.facilityId?if_exists}&amp;productId=${product.productId?if_exists}</@ofbizUrl>">Fix negative QOH</a>
+    <a href="<@ofbizUrl>/fixproductnegativeqoh?facilityId=${facility.facilityId!}&amp;productId=${product.productId!}</@ofbizUrl>">Fix negative QOH</a>
 </#if>
-    <a href="<@ofbizUrl>/productstocktake?facilityId=${facility.facilityId?if_exists}&amp;productId=${product.productId?if_exists}</@ofbizUrl>">Refresh</a>
+    <a href="<@ofbizUrl>/productstocktake?facilityId=${facility.facilityId!}&amp;productId=${product.productId!}</@ofbizUrl>">Refresh</a>
 
 <#--    <ol>
     Display of edit box for barcode

Modified: ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/receipt.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/receipt.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/receipt.ftl (original)
+++ ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/receipt.ftl Sat Aug 16 08:40:28 2014
@@ -21,7 +21,7 @@ under the License.
 
 <div data-role="content">
     <ul data-role="listview">
-        <li><a accesskey="1" href="<@ofbizUrl>/poreceipt?facilityId=${facility.facilityId?if_exists}</@ofbizUrl>">PO Receipt</a></li>
-        <li><a accesskey="2" href="<@ofbizUrl>/productreceipt?facilityId=${facility.facilityId?if_exists}</@ofbizUrl>">Product Receipt</a></li>
+        <li><a accesskey="1" href="<@ofbizUrl>/poreceipt?facilityId=${facility.facilityId!}</@ofbizUrl>">PO Receipt</a></li>
+        <li><a accesskey="2" href="<@ofbizUrl>/productreceipt?facilityId=${facility.facilityId!}</@ofbizUrl>">Product Receipt</a></li>
     </ul>
 </div>
\ No newline at end of file

Modified: ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/stocktake.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/stocktake.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/stocktake.ftl (original)
+++ ofbiz/trunk/specialpurpose/hhfacility/webapp/hhfacility/stocktake.ftl Sat Aug 16 08:40:28 2014
@@ -18,7 +18,7 @@ under the License.
 -->
 
 <#assign facility = parameters.facilityId>
-<#if parameters.idValue?if_exists?has_content>
+<#if parameters.idValue!?has_content>
     <#assign idValue = parameters.idValue?has_content>
 </#if>
 
@@ -36,7 +36,7 @@ under the License.
                 </td>
                 <td>&nbsp;&nbsp;</td>
                 <td>
-                    <a href="<@ofbizUrl>productstocktake?facilityId=${facility.facilityId?if_exists}&amp;productId=${product.productId}</@ofbizUrl>" class="buttontext">${(product.internalName)?if_exists}</a>
+                    <a href="<@ofbizUrl>productstocktake?facilityId=${facility.facilityId!}&amp;productId=${product.productId}</@ofbizUrl>" class="buttontext">${(product.internalName)!}</a>
                 </td>
             </tr>
         </#list>

Modified: ofbiz/trunk/specialpurpose/lucene/webapp/content/AdminSearch.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/lucene/webapp/content/AdminSearch.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/lucene/webapp/content/AdminSearch.ftl (original)
+++ ofbiz/trunk/specialpurpose/lucene/webapp/content/AdminSearch.ftl Sat Aug 16 08:40:28 2014
@@ -66,9 +66,9 @@ under the License.
       </td>
       <td valign="middle">
         <div>
-          <input type="text" class="inputBox" name="SEARCH_FEAT" size="15" value="${requestParameters.SEARCH_FEAT?if_exists}"/>&nbsp;
-          <input type="text" class="inputBox" name="SEARCH_FEAT2" size="15" value="${requestParameters.SEARCH_FEAT?if_exists}"/>&nbsp;
-          <input type="text" class="inputBox" name="SEARCH_FEAT3" size="15" value="${requestParameters.SEARCH_FEAT?if_exists}"/>&nbsp;
+          <input type="text" class="inputBox" name="SEARCH_FEAT" size="15" value="${requestParameters.SEARCH_FEAT!}"/>&nbsp;
+          <input type="text" class="inputBox" name="SEARCH_FEAT2" size="15" value="${requestParameters.SEARCH_FEAT!}"/>&nbsp;
+          <input type="text" class="inputBox" name="SEARCH_FEAT3" size="15" value="${requestParameters.SEARCH_FEAT!}"/>&nbsp;
         </div>
       </td>
     </tr>
@@ -79,7 +79,7 @@ under the License.
       <#assign productFeatures = productFeaturesByTypeMap[productFeatureTypeId]>
       <tr>
         <td align="right" valign="middle">
-          <div>${(productFeatureType.description)?if_exists}:</div>
+          <div>${(productFeatureType.description)!}:</div>
         </td>
         <td valign="middle">
           <div>

Modified: ofbiz/trunk/specialpurpose/myportal/widget/RegisterPerson.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/myportal/widget/RegisterPerson.ftl?rev=1618313&r1=1618312&r2=1618313&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/myportal/widget/RegisterPerson.ftl (original)
+++ ofbiz/trunk/specialpurpose/myportal/widget/RegisterPerson.ftl Sat Aug 16 08:40:28 2014
@@ -35,33 +35,33 @@ under the License.
                     <tr>
                         <td class="label">    Salutation    </td>
                         <td class="no-required">
-                            <input type="text" autocomplete="off" id="RegisterPerson_salutation" maxlength="60" size="40" name="salutation" value="${requestParameters.salutation?if_exists}"/>
+                            <input type="text" autocomplete="off" id="RegisterPerson_salutation" maxlength="60" size="40" name="salutation" value="${requestParameters.salutation!}"/>
                         </td>
                     </tr>
                     <tr>
                         <td class="label">    First name    </td>
                         <td>
-                            <input type="text" autocomplete="off" id="RegisterPerson_firstName" maxlength="60" size="40" class="required false" name="firstName" value="${requestParameters.firstName?if_exists}"/>
+                            <input type="text" autocomplete="off" id="RegisterPerson_firstName" maxlength="60" size="40" class="required false" name="firstName" value="${requestParameters.firstName!}"/>
                             <span class="tooltip">Required</span>    
                         </td>
                     </tr>
                     <tr>
                         <td class="label">        Middle Name    </td>
                         <td class="no-required">
-                            <input type="text" autocomplete="off" id="RegisterPerson_middleName" maxlength="60" size="40" name="middleName" value="${requestParameters.middleName?if_exists}"/>
+                            <input type="text" autocomplete="off" id="RegisterPerson_middleName" maxlength="60" size="40" name="middleName" value="${requestParameters.middleName!}"/>
                         </td>
                     </tr>
                     <tr>
                         <td class="label">        Last name    </td>
                         <td>
-                            <input type="text" autocomplete="off" id="RegisterPerson_lastName" maxlength="60" size="40" class="required false" name="lastName" value="${requestParameters.lastName?if_exists}"/>
+                            <input type="text" autocomplete="off" id="RegisterPerson_lastName" maxlength="60" size="40" class="required false" name="lastName" value="${requestParameters.lastName!}"/>
                             <span class="tooltip">Required</span>    
                         </td>
                     </tr>
                     <tr>
                         <td class="label">    Email    </td>
                         <td>
-                            <input type="text" autocomplete="off" id="RegisterPerson_USER_EMAIL" maxlength="250" size="60" class="required false" name="USER_EMAIL" value="${requestParameters.USER_EMAIL?if_exists}"/>
+                            <input type="text" autocomplete="off" id="RegisterPerson_USER_EMAIL" maxlength="250" size="60" class="required false" name="USER_EMAIL" value="${requestParameters.USER_EMAIL!}"/>
                             <span class="tooltip">Required</span>    
                         </td>
                     </tr>
@@ -72,21 +72,21 @@ under the License.
                     <tr>
                         <td class="label">    Username    </td>
                         <td>
-                            <input type="text" autocomplete="off" id="RegisterPerson_USERNAME" maxlength="250" size="30" class="required false" name="USERNAME" value="${requestParameters.USERNAME?if_exists}"/>
+                            <input type="text" autocomplete="off" id="RegisterPerson_USERNAME" maxlength="250" size="30" class="required false" name="USERNAME" value="${requestParameters.USERNAME!}"/>
                             <span class="tooltip">Required</span>    
                         </td>
                     </tr>
                     <tr>
                         <td class="label">    Password    </td>
                         <td>
-                            <input type="password" id="RegisterPerson_PASSWORD" maxlength="250" size="15" name="PASSWORD" class="required false" value="${requestParameters.PASSWORD?if_exists}"/>
+                            <input type="password" id="RegisterPerson_PASSWORD" maxlength="250" size="15" name="PASSWORD" class="required false" value="${requestParameters.PASSWORD!}"/>
                             <span class="tooltip">Required</span>    
                         </td>
                     </tr>
                     <tr>
                         <td class="label">    Password    </td>
                         <td>
-                            <input type="password" id="RegisterPerson_CONFIRM_PASSWORD" maxlength="250" size="15" name="CONFIRM_PASSWORD" class="required false" value="${requestParameters.CONFIRM_PASSWORD?if_exists}"/>
+                            <input type="password" id="RegisterPerson_CONFIRM_PASSWORD" maxlength="250" size="15" name="CONFIRM_PASSWORD" class="required false" value="${requestParameters.CONFIRM_PASSWORD!}"/>
                             <span class="tooltip">* Confirm</span>    
                         </td>
                     </tr>