You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2014/08/18 09:42:37 UTC
svn commit: r1618554 [27/38] - in
/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23: ./
applications/accounting/config/
applications/accounting/script/org/ofbiz/accounting/invoice/
applications/accounting/src/org/ofbiz/accounting/invoice/ appli...
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebay/webapp/ebay/find/productsExportToEbay.ftl Mon Aug 18 07:42:27 2014
@@ -42,18 +42,18 @@ under the License.
</script>
<div>
<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 border="0" cellpadding="2" cellspacing="0">
<tr>
<td align="right" class="label">${uiLabelMap.FormFieldTitle_ebayCategory}</td>
<td> </td>
<td>
- <input type="hidden" name="selectResult" value="${selectResult?if_exists}"/>
+ <input type="hidden" name="selectResult" value="${selectResult!}"/>
<select name="ebayCategory" onchange="changeEbayCategory(this.value)">
<option value=""> </option>
- <#if categories?exists>
+ <#if categories??>
<#list categories as category>
- <option value="${category.CategoryCode}" <#if categoryCode?exists && categoryCode == category.CategoryCode>selected="selected"</#if>>${category.CategoryName}</option>
+ <option value="${category.CategoryCode}" <#if categoryCode?? && categoryCode == category.CategoryCode>selected="selected"</#if>>${category.CategoryName}</option>
</#list>
</#if>
</select>
@@ -65,9 +65,9 @@ under the License.
<td> </td>
<td>
<select name="country">
- <#if countries?exists>
+ <#if countries??>
<#list countries as country>
- <option value="${country.geoCode}" <#if countryCode?exists && countryCode == country.geoCode>selected="selected"</#if>>${country.get("geoName",locale)}</option>
+ <option value="${country.geoCode}" <#if countryCode?? && countryCode == country.geoCode>selected="selected"</#if>>${country.get("geoName",locale)}</option>
</#list>
</#if>
</select>
@@ -77,7 +77,7 @@ under the License.
<td align="right" class="label">${uiLabelMap.FormFieldTitle_location}</td>
<td> </td>
<td>
- <input type="text" name="location" size="50" maxlength="50" value="${parameters.location?if_exists}" />
+ <input type="text" name="location" size="50" maxlength="50" value="${parameters.location!}" />
</td>
</tr>
<tr>
@@ -95,14 +95,14 @@ under the License.
<td align="right" class="label">${uiLabelMap.FormFieldTitle_startPrice}</td>
<td> </td>
<td>
- <input type="text" name="startPrice" size="12" maxlength="12" value="${parameters.startPrice?if_exists}" />
+ <input type="text" name="startPrice" size="12" maxlength="12" value="${parameters.startPrice!}" />
</td>
</tr>
<tr>
<td align="right" class="label">${uiLabelMap.CommonQuantity}</td>
<td> </td>
<td>
- <input type="text" name="quantity" size="12" maxlength="12" value="<#if parameters.quantity?exists>${parameters.quantity?if_exists}<#else>1</#if>" />
+ <input type="text" name="quantity" size="12" maxlength="12" value="<#if parameters.quantity??>${parameters.quantity!}<#else>1</#if>" />
</td>
</tr>
<tr>
@@ -115,7 +115,7 @@ under the License.
<#if (18 < displayDesc?length)>
<#assign displayDesc = displayDesc[0..15] + "...">
</#if>
- <option value="${webSite.webSiteId}" <#if selectedWebSiteId?if_exists == webSite.webSiteId> selected="selected"</#if>>${displayDesc} [${webSite.webSiteId}]</option>
+ <option value="${webSite.webSiteId}" <#if selectedWebSiteId! == webSite.webSiteId> selected="selected"</#if>>${displayDesc} [${webSite.webSiteId}]</option>
</#list>
</select>
</td>
@@ -124,7 +124,7 @@ under the License.
<td align="right" class="label">${uiLabelMap.FormFieldTitle_webSiteUrl}</td>
<td> </td>
<td>
- <input type="text" name="webSiteUrl" size="100" value="${webSiteUrl?if_exists}"/>
+ <input type="text" name="webSiteUrl" size="100" value="${webSiteUrl!}"/>
</td>
</tr>
<tr>
@@ -138,33 +138,33 @@ under the License.
<table class="basic-table" cellspacing="0">
<tr>
<td align="right" width="23%" class="label">${uiLabelMap.FormFieldTitle_paymentPayPal}</td>
- <td width="2%"><input type="checkbox" name="paymentPayPal" <#if parameters.paymentPayPal?exists>checked="checked"</#if> /></td>
+ <td width="2%"><input type="checkbox" name="paymentPayPal" <#if parameters.paymentPayPal??>checked="checked"</#if> /></td>
<td align="right" width="23%" class="label">${uiLabelMap.FormFieldTitle_paymentVisaMC}</td>
- <td width="2%"><input type="checkbox" name="paymentVisaMC" <#if parameters.paymentVisaMC?exists>checked="checked"</#if> /></td>
+ <td width="2%"><input type="checkbox" name="paymentVisaMC" <#if parameters.paymentVisaMC??>checked="checked"</#if> /></td>
<td align="right" width="23%" class="label">${uiLabelMap.FormFieldTitle_paymentAmEx}</td>
- <td width="2%"><input type="checkbox" name="paymentAmEx" <#if parameters.paymentAmEx?exists>checked="checked"</#if> /></td>
+ <td width="2%"><input type="checkbox" name="paymentAmEx" <#if parameters.paymentAmEx??>checked="checked"</#if> /></td>
<td align="right" width="23%" class="label">${uiLabelMap.FormFieldTitle_paymentDiscover}</td>
- <td width="2%"><input type="checkbox" name="paymentDiscover" <#if parameters.paymentDiscover?exists>checked="checked"</#if> /></td>
+ <td width="2%"><input type="checkbox" name="paymentDiscover" <#if parameters.paymentDiscover??>checked="checked"</#if> /></td>
</tr>
<tr>
<td align="right" width="23%" class="label">${uiLabelMap.FormFieldTitle_paymentMOCC}</td>
- <td width="2%"><input type="checkbox" name="paymentMOCC" <#if parameters.paymentMOCC?exists>checked="checked"</#if> /></td>
+ <td width="2%"><input type="checkbox" name="paymentMOCC" <#if parameters.paymentMOCC??>checked="checked"</#if> /></td>
<td align="right" width="23%" class="label">${uiLabelMap.FormFieldTitle_paymentPersonalCheck}</td>
- <td width="2%"><input type="checkbox" name="paymentPersonalCheck" <#if parameters.paymentPersonalCheck?exists>checked="checked"</#if> /></td>
+ <td width="2%"><input type="checkbox" name="paymentPersonalCheck" <#if parameters.paymentPersonalCheck??>checked="checked"</#if> /></td>
<td align="right" width="23%" class="label">${uiLabelMap.FormFieldTitle_paymentCCAccepted}</td>
- <td width="2%"><input type="checkbox" name="paymentCCAccepted" <#if parameters.paymentCCAccepted?exists>checked="checked"</#if> /></td>
+ <td width="2%"><input type="checkbox" name="paymentCCAccepted" <#if parameters.paymentCCAccepted??>checked="checked"</#if> /></td>
<td align="right" width="23%" class="label">${uiLabelMap.FormFieldTitle_paymentCashInPerson}</td>
- <td width="2%"><input type="checkbox" name="paymentCashInPerson" <#if parameters.paymentCashInPerson?exists>checked="checked"</#if> /></td>
+ <td width="2%"><input type="checkbox" name="paymentCashInPerson" <#if parameters.paymentCashInPerson??>checked="checked"</#if> /></td>
</tr>
<tr>
<td align="right" width="23%" class="label">${uiLabelMap.FormFieldTitle_paymentCashOnPickup}</td>
- <td width="2%"><input type="checkbox" name="paymentCashOnPickup" <#if parameters.paymentCashOnPickup?exists>checked="checked"</#if> /></td>
+ <td width="2%"><input type="checkbox" name="paymentCashOnPickup" <#if parameters.paymentCashOnPickup??>checked="checked"</#if> /></td>
<td align="right" width="23%" class="label">${uiLabelMap.FormFieldTitle_paymentCOD}</td>
- <td width="2%"><input type="checkbox" name="paymentCOD" <#if parameters.paymentCOD?exists>checked="checked"</#if> /></td>
+ <td width="2%"><input type="checkbox" name="paymentCOD" <#if parameters.paymentCOD??>checked="checked"</#if> /></td>
<td align="right" width="23%" class="label">${uiLabelMap.FormFieldTitle_paymentCODPrePayDelivery}</td>
- <td width="2%"><input type="checkbox" name="paymentCODPrePayDelivery" <#if parameters.paymentCODPrePayDelivery?exists>checked="checked"</#if> /></td>
+ <td width="2%"><input type="checkbox" name="paymentCODPrePayDelivery" <#if parameters.paymentCODPrePayDelivery??>checked="checked"</#if> /></td>
<td align="right" width="23%" class="label">${uiLabelMap.FormFieldTitle_paymentMoneyXferAccepted}</td>
- <td width="2%"><input type="checkbox" name="paymentMoneyXferAccepted" <#if parameters.paymentMoneyXferAccepted?exists>checked="checked"</#if> /></td>
+ <td width="2%"><input type="checkbox" name="paymentMoneyXferAccepted" <#if parameters.paymentMoneyXferAccepted??>checked="checked"</#if> /></td>
</tr>
</table>
</td>
@@ -173,14 +173,14 @@ under the License.
<td align="right" class="label">${uiLabelMap.FormFieldTitle_payPalEmail}</td>
<td> </td>
<td>
- <input type="text" name="payPalEmail" size="50" maxlength="50" value="${parameters.payPalEmail?if_exists}" />
+ <input type="text" name="payPalEmail" size="50" maxlength="50" value="${parameters.payPalEmail!}" />
</td>
</tr>
<tr>
<td align="right" class="label">${uiLabelMap.FormFieldTitle_customXml}</td>
<td> </td>
<td>
- <textarea cols="60" rows="6" wrap="soft" name="customXml">${customXml?if_exists}</textarea>
+ <textarea cols="60" rows="6" wrap="soft" name="customXml">${customXml!}</textarea>
</td>
</tr>
<tr>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebaystore/webapp/ebaystore/store/StoreSetting.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebaystore/webapp/ebaystore/store/StoreSetting.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebaystore/webapp/ebaystore/store/StoreSetting.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebaystore/webapp/ebaystore/store/StoreSetting.ftl Mon Aug 18 07:42:27 2014
@@ -124,20 +124,20 @@ under the License.
</script>
<#if parameters.ebayStore?has_content>
- <#assign ebayStore = parameters.ebayStore?if_exists>
+ <#assign ebayStore = parameters.ebayStore!>
<#--${ebayStore}-->
<form name="StoreSettingForm" id="StoreSettingForm" method="post" action="<@o...@ofbizUrl>" style="margin: 0;">
- <input type="hidden" name="themeType" value="${themeType?if_exists}"/>
- <input type="hidden" name="storeUrl" value="${ebayStore.storeUrl?if_exists}"/>
- <input type="hidden" name="storeLogoId" value="${ebayStore.storeLogoId?if_exists}"/>
- <input type="hidden" name="storeLogoName" value="${ebayStore.storeLogoName?if_exists}"/>
- <input type="hidden" name="productStoreId" value="${parameters.productStoreId?if_exists}"/>
+ <input type="hidden" name="themeType" value="${themeType!}"/>
+ <input type="hidden" name="storeUrl" value="${ebayStore.storeUrl!}"/>
+ <input type="hidden" name="storeLogoId" value="${ebayStore.storeLogoId!}"/>
+ <input type="hidden" name="storeLogoName" value="${ebayStore.storeLogoName!}"/>
+ <input type="hidden" name="productStoreId" value="${parameters.productStoreId!}"/>
<fieldset>
<table cellspacing="0" class="basic-table">
<tr>
<td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreName} :</td>
<td valign="middle">
- <input type="text" name="storeName" value="${ebayStore.storeName?if_exists}" onKeyDown="countAreaChars(document.StoreSettingForm.storeName,35,document.getElementById('charsleft1'));"
+ <input type="text" name="storeName" value="${ebayStore.storeName!}" onKeyDown="countAreaChars(document.StoreSettingForm.storeName,35,document.getElementById('charsleft1'));"
onKeyUp="countAreaChars(document.StoreSettingForm.storeName,35,document.getElementById('charsleft1'));" />
<div id="charsleft1"></div>
</td>
@@ -147,28 +147,28 @@ under the License.
<td valign="middle">
<textarea rows="4" cols="80" name="storeDesc"
onKeyDown="countAreaChars(document.StoreSettingForm.storeDesc,300,document.getElementById('charsleft2'));"
- onKeyUp="countAreaChars(document.StoreSettingForm.storeDesc,300,document.getElementById('charsleft2'));">${ebayStore.storeDesc?if_exists}</textarea>
+ onKeyUp="countAreaChars(document.StoreSettingForm.storeDesc,300,document.getElementById('charsleft2'));">${ebayStore.storeDesc!}</textarea>
<div id="charsleft2"></div>
</td>
</tr>
<tr>
<td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreURL} :</td>
<td valign="middle">
- <a href="${ebayStore.storeUrl?if_exists}" target="_blank">${ebayStore.storeUrl?if_exists}</a>
+ <a href="${ebayStore.storeUrl!}" target="_blank">${ebayStore.storeUrl!}</a>
</td>
</tr>
<tr>
<td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreLogoURL} :</td>
<td valign="middle">
- <input type="text" name="storeLogoURL" size="50" value="${ebayStore.storeLogoURL?if_exists}"/>
+ <input type="text" name="storeLogoURL" size="50" value="${ebayStore.storeLogoURL!}"/>
</td>
</tr>
<tr>
<td class="label" align="right" valign="middle"></td>
<td valign="middle">
<div onclick="javascript:switchTheme();">
- <input type="radio" name="storeThemeType" <#if themeType?if_exists == "Basic">checked="checked"</#if> value="Basic" default="default" /> Basic Theme
- <input type="radio" name="storeThemeType" <#if themeType?if_exists == "Advanced">checked="checked"</#if> value="Advanced" /> Advanced Theme
+ <input type="radio" name="storeThemeType" <#if themeType! == "Basic">checked="checked"</#if> value="Basic" default="default" /> Basic Theme
+ <input type="radio" name="storeThemeType" <#if themeType! == "Advanced">checked="checked"</#if> value="Advanced" /> Advanced Theme
</div>
</td>
</tr>
@@ -179,9 +179,9 @@ under the License.
<select id="storeAdvancedTheme" name="storeAdvancedTheme" >
<#if storeAdvanceThemeOptList?has_content>
<#list storeAdvanceThemeOptList as storeAdvanceThemeOpt>
- <option value="${storeAdvanceThemeOpt.storeThemeId?if_exists}"
- <#if ebayStore.storeThemeId.equals(storeAdvanceThemeOpt.storeThemeId?if_exists)>selected="selected"</#if>>
- ${storeAdvanceThemeOpt.storeThemeName?if_exists}</option>
+ <option value="${storeAdvanceThemeOpt.storeThemeId!}"
+ <#if ebayStore.storeThemeId.equals(storeAdvanceThemeOpt.storeThemeId!)>selected="selected"</#if>>
+ ${storeAdvanceThemeOpt.storeThemeName!}</option>
</#list>
</#if>
</select>
@@ -193,9 +193,9 @@ under the License.
<td valign="middle">
<select name="storeAdvancedThemeColor">
<#list storeAdvancedThemeColorOptList as storeAdvancedThemeColorOpt>
- <option value="${storeAdvancedThemeColorOpt.storeColorSchemeId?if_exists}"
- <#if ebayStore.storeColorSchemeId.equals(storeAdvancedThemeColorOpt.storeColorSchemeId?if_exists)>selected="selected"</#if>>
- ${storeAdvancedThemeColorOpt.storeColorName?if_exists}</option>
+ <option value="${storeAdvancedThemeColorOpt.storeColorSchemeId!}"
+ <#if ebayStore.storeColorSchemeId.equals(storeAdvancedThemeColorOpt.storeColorSchemeId!)>selected="selected"</#if>>
+ ${storeAdvancedThemeColorOpt.storeColorName!}</option>
</#list>
</select>
</td>
@@ -206,13 +206,13 @@ under the License.
<td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreBasicTheme} :</td>
<td valign="middle">
<#assign currentStoreThemeIdAndSchemeId = ebayStore.storeThemeId?string+"-"+ebayStore.storeColorSchemeId?string>
- <select id="storeBasicTheme" name="storeBasicTheme" onchange="javascript:retrieveThemeColorSchemeByThemeId('<@o...@ofbizUrl>',this.value,'${parameters.productStoreId?if_exists}');">
+ <select id="storeBasicTheme" name="storeBasicTheme" onchange="javascript:retrieveThemeColorSchemeByThemeId('<@o...@ofbizUrl>',this.value,'${parameters.productStoreId!}');">
<#if storeThemeOptList?has_content>
<#list storeThemeOptList as storeThemeOpt>
<#assign storeThemeIdAndSchemeId = storeThemeOpt.storeThemeId+"-"+storeThemeOpt.storeColorSchemeId>
- <option value="${storeThemeIdAndSchemeId?if_exists}"
- <#if currentStoreThemeIdAndSchemeId == storeThemeIdAndSchemeId?if_exists>selected="selected"</#if>>
- ${storeThemeOpt.storeColorSchemeName?if_exists}
+ <option value="${storeThemeIdAndSchemeId!}"
+ <#if currentStoreThemeIdAndSchemeId == storeThemeIdAndSchemeId!>selected="selected"</#if>>
+ ${storeThemeOpt.storeColorSchemeName!}
</option>
</#list>
</#if>
@@ -228,19 +228,19 @@ under the License.
<tr>
<td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStorePrimaryColor} :</td>
<td valign="middle">
- ${uiLabelMap.CommonNbr}<input type="text" id="storePrimaryColor" name="storePrimaryColor" size="10" value="${ebayStore.storeColorPrimary?if_exists}"/>
+ ${uiLabelMap.CommonNbr}<input type="text" id="storePrimaryColor" name="storePrimaryColor" size="10" value="${ebayStore.storeColorPrimary!}"/>
</td>
</tr>
<tr>
<td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreSecondColor} :</td>
<td valign="middle">
- ${uiLabelMap.CommonNbr}<input type="text" id="storeSecondaryColor" name="storeSecondaryColor" size="10" value="${ebayStore.storeColorSecondary?if_exists}"/>
+ ${uiLabelMap.CommonNbr}<input type="text" id="storeSecondaryColor" name="storeSecondaryColor" size="10" value="${ebayStore.storeColorSecondary!}"/>
</td>
</tr>
<tr>
<td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreAccentColor} :</td>
<td valign="middle">
- ${uiLabelMap.CommonNbr}<input type="text" id="storeAccentColor" name="storeAccentColor" size="10" value="${ebayStore.storeColorAccent?if_exists}"/>
+ ${uiLabelMap.CommonNbr}<input type="text" id="storeAccentColor" name="storeAccentColor" size="10" value="${ebayStore.storeColorAccent!}"/>
</td>
</tr>
<tr>
@@ -263,30 +263,30 @@ under the License.
<tr>
<td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreName} :</td>
<td valign="middle">
- <#if storeFontTheme?exists>
- <#if ebayStore.storeNameColor?exists>
- <#assign storeFontColor = ebayStore.storeNameColor?if_exists>
+ <#if storeFontTheme??>
+ <#if ebayStore.storeNameColor??>
+ <#assign storeFontColor = ebayStore.storeNameColor!>
<#else>
- <#assign storeFontColor = storeFontTheme.storeFontTypeNameFaceColor?if_exists>
+ <#assign storeFontColor = storeFontTheme.storeFontTypeNameFaceColor!>
</#if>
<table width="450">
<tr>
<td>
<select id="storeNameFont" name="storeNameFont">
<#list storeFontTheme.storeFontTypeFontFaceList as storeFontTypeFontFace>
- <option <#if storeFontTypeFontFace.storeFontValue?if_exists.equals(ebayStore.storeNameFontFace?if_exists) >selected="selected"</#if> value="${storeFontTypeFontFace.storeFontName?if_exists}">${storeFontTypeFontFace.storeFontName?if_exists}</option>
+ <option <#if storeFontTypeFontFace.storeFontValue.equals(ebayStore.storeNameFontFace) >selected="selected"</#if> value="${storeFontTypeFontFace.storeFontName!}">${storeFontTypeFontFace.storeFontName!}</option>
</#list>
</select>
</td>
<td>
<select id="storeNameFontSize" name="storeNameFontSize">
<#list storeFontTheme.storeFontTypeSizeFaceList as storeFontTypeSizeFace>
- <option <#if storeFontTypeSizeFace.storeFontSizeValue?if_exists.equals(ebayStore.storeNameFontFaceSize?if_exists) >selected="selected"</#if> value="${storeFontTypeSizeFace.storeFontSizeName?if_exists}">${storeFontTypeSizeFace.storeFontSizeName?if_exists}</option>
+ <option <#if storeFontTypeSizeFace.storeFontSizeValue.equals(ebayStore.storeNameFontFaceSize) >selected="selected"</#if> value="${storeFontTypeSizeFace.storeFontSizeName!}">${storeFontTypeSizeFace.storeFontSizeName!}</option>
</#list>
</select>
</td>
<td>
- ${uiLabelMap.CommonNbr}<input id="storeNameFontColor" type="text" size="10" name="storeNameFontColor" value="${storeFontColor?if_exists}"/>
+ ${uiLabelMap.CommonNbr}<input id="storeNameFontColor" type="text" size="10" name="storeNameFontColor" value="${storeFontColor!}"/>
</td>
</tr>
</table>
@@ -296,30 +296,30 @@ under the License.
<tr>
<td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreSectionTitle} :</td>
<td valign="middle">
- <#if storeFontTheme?exists>
- <#if ebayStore.storeTitleColor?exists>
- <#assign storeTitleColor = ebayStore.storeTitleColor?if_exists>
+ <#if storeFontTheme??>
+ <#if ebayStore.storeTitleColor??>
+ <#assign storeTitleColor = ebayStore.storeTitleColor!>
<#else>
- <#assign storeTitleColor = storeFontTheme.storeFontTypeTitleColor?if_exists>
+ <#assign storeTitleColor = storeFontTheme.storeFontTypeTitleColor!>
</#if>
<table width="450">
<tr>
<td>
<select id="storeTitleFont" name="storeTitleFont">
<#list storeFontTheme.storeFontTypeFontTitleList as storeFontTypeFontTitle>
- <option <#if storeFontTypeFontTitle.storeFontValue?if_exists.equals(ebayStore.storeTitleFontFace?if_exists) >selected="selected"</#if> value="${storeFontTypeFontTitle.storeFontName?if_exists}">${storeFontTypeFontTitle.storeFontName?if_exists}</option>
+ <option <#if storeFontTypeFontTitle.storeFontValue.equals(ebayStore.storeTitleFontFace) >selected="selected"</#if> value="${storeFontTypeFontTitle.storeFontName!}">${storeFontTypeFontTitle.storeFontName!}</option>
</#list>
</select>
</td>
<td>
<select id="storeTitleFontSize" name="storeTitleFontSize">
<#list storeFontTheme.storeFontSizeTitleList as storeFontSizeTitle>
- <option <#if storeFontSizeTitle.storeFontSizeValue?if_exists.equals(ebayStore.storeTitleFontFaceSize?if_exists) >selected="selected"</#if> value="${storeFontSizeTitle.storeFontSizeName?if_exists}">${storeFontSizeTitle.storeFontSizeName?if_exists}</option>
+ <option <#if storeFontSizeTitle.storeFontSizeValue.equals(ebayStore.storeTitleFontFaceSize) >selected="selected"</#if> value="${storeFontSizeTitle.storeFontSizeName!}">${storeFontSizeTitle.storeFontSizeName!}</option>
</#list>
</select>
</td>
<td>
- ${uiLabelMap.CommonNbr}<input id="storeTitleFontColor" type="text" size="10" name="storeTitleFontColor" value="${storeTitleColor?if_exists}"/>
+ ${uiLabelMap.CommonNbr}<input id="storeTitleFontColor" type="text" size="10" name="storeTitleFontColor" value="${storeTitleColor!}"/>
</td>
</tr>
</table>
@@ -329,30 +329,30 @@ under the License.
<tr>
<td class="label" align="right" valign="middle">${uiLabelMap.EbayStoreStoreDesc} :</td>
<td valign="middle">
- <#if storeFontTheme?exists>
- <#if ebayStore.storeDescColor?exists>
- <#assign storeDescColor = ebayStore.storeDescColor?if_exists>
+ <#if storeFontTheme??>
+ <#if ebayStore.storeDescColor??>
+ <#assign storeDescColor = ebayStore.storeDescColor!>
<#else>
- <#assign storeDescColor = storeFontTheme.storeFontTypeDescColor?if_exists>
+ <#assign storeDescColor = storeFontTheme.storeFontTypeDescColor!>
</#if>
<table width="450">
<tr>
<td>
<select id="storeDescFont" name="storeDescFont">
<#list storeFontTheme.storeFontTypeFontDescList as storeFontTypeFontDesc>
- <option <#if storeFontTypeFontDesc.storeFontValue?if_exists.equals(ebayStore.storeDescFontFace?if_exists) >selected="selected"</#if> value="${storeFontTypeFontDesc.storeFontName?if_exists}">${storeFontTypeFontDesc.storeFontName?if_exists}</option>
+ <option <#if storeFontTypeFontDesc.storeFontValue.equals(ebayStore.storeDescFontFace!) >selected="selected"</#if> value="${storeFontTypeFontDesc.storeFontName!}">${storeFontTypeFontDesc.storeFontName!}</option>
</#list>
</select>
</td>
<td>
<select id="storeDescFontSize" name="storeDescFontSize">
<#list storeFontTheme.storeDescSizeList as storeDescSize>
- <option <#if storeDescSize.storeFontSizeValue?if_exists.equals(ebayStore.storeDescSizeCode?if_exists) >selected="selected"</#if> value="${storeDescSize.storeFontSizeName?if_exists}">${storeDescSize.storeFontSizeName?if_exists}</option>
+ <option <#if storeDescSize.storeFontSizeValue.equals(ebayStore.storeDescSizeCode) >selected="selected"</#if> value="${storeDescSize.storeFontSizeName!}">${storeDescSize.storeFontSizeName!}</option>
</#list>
</select>
</td>
<td>
- ${uiLabelMap.CommonNbr}<input id="storeDescFontColor" type="text" size="10" name="storeDescFontColor" value="${storeDescColor?if_exists}"/>
+ ${uiLabelMap.CommonNbr}<input id="storeDescFontColor" type="text" size="10" name="storeDescFontColor" value="${storeDescColor!}"/>
</td>
</tr>
</table>
@@ -364,7 +364,7 @@ under the License.
<td valign="middle">
<select id="storeCustomHeaderLayout" name="storeCustomHeaderLayout">
<#list ebayStore.storeCustomHeaderLayoutList as storeCustomHeaderLayout>
- <option <#if storeCustomHeaderLayout.storeCustomHeaderLayoutValue?if_exists.equals(ebayStore.storeCustomHeaderLayout?if_exists) >selected="selected"</#if> value="${storeCustomHeaderLayout.storeCustomHeaderLayoutName?if_exists}">${storeCustomHeaderLayout.storeCustomHeaderLayoutValue?if_exists}</option>
+ <option <#if storeCustomHeaderLayout.storeCustomHeaderLayoutValue.equals(ebayStore.storeCustomHeaderLayout) >selected="selected"</#if> value="${storeCustomHeaderLayout.storeCustomHeaderLayoutName!}">${storeCustomHeaderLayout.storeCustomHeaderLayoutValue!}</option>
</#list>
</select>
</td>
@@ -373,7 +373,7 @@ under the License.
<td class="label" align="right" valign="middle"></td>
<td valign="middle">
<textarea rows="8" cols="40" name="storeCustomHeader">
- ${ebayStore.storeCustomHeader?if_exists}</textarea>
+ ${ebayStore.storeCustomHeader!}</textarea>
</td>
</tr>
<tr>
@@ -381,7 +381,7 @@ under the License.
<td valign="middle">
<select id="storeHeaderStyle" name="storeHeaderStyle">
<#list ebayStore.storeHeaderStyleList as storeHeaderStyle>
- <option <#if storeHeaderStyle.storeHeaderStyleValue?if_exists.equals(ebayStore.storeHeaderStyle?if_exists) >selected="selected"</#if> value="${storeHeaderStyle.storeHeaderStyleName?if_exists}">${storeHeaderStyle.storeHeaderStyleValue?if_exists}</option>
+ <option <#if storeHeaderStyle.storeHeaderStyleValue.equals(ebayStore.storeHeaderStyle) >selected="selected"</#if> value="${storeHeaderStyle.storeHeaderStyleName!}">${storeHeaderStyle.storeHeaderStyleValue!}</option>
</#list>
</select>
</td>
@@ -389,7 +389,7 @@ under the License.
<#--tr>
<td class="label" align="right" valign="middle">Home Page :</td>
<td valign="middle">
- <input type="text" id="homePage" name="homePage" value="${ebayStore.storeHomePage?if_exists}"/>
+ <input type="text" id="homePage" name="homePage" value="${ebayStore.storeHomePage!}"/>
</td>
</tr-->
<tr>
@@ -397,7 +397,7 @@ under the License.
<td valign="middle">
<select id="storeItemLayout" name="storeItemLayout">
<#list ebayStore.storeItemLayoutList as storeItemLayout>
- <option <#if storeItemLayout.storeItemLayoutValue?if_exists.equals(ebayStore.storeItemLayoutSelected?if_exists) >selected="selected"</#if> value="${storeItemLayout.storeItemLayoutName?if_exists}">${storeItemLayout.storeItemLayoutValue?if_exists}</option>
+ <option <#if storeItemLayout.storeItemLayoutValue.equals(ebayStore.storeItemLayoutSelected) >selected="selected"</#if> value="${storeItemLayout.storeItemLayoutName!}">${storeItemLayout.storeItemLayoutValue!}</option>
</#list>
</select>
</td>
@@ -407,7 +407,7 @@ under the License.
<td valign="middle">
<select id="storeItemSortOrder" name="storeItemSortOrder">
<#list ebayStore.storeItemSortOrderList as storeItemSortOrder>
- <option <#if storeItemSortOrder.storeItemSortLayoutValue?if_exists.equals(ebayStore.storeItemSortOrderSelected?if_exists) >selected="selected"</#if> value="${storeItemSortOrder.storeItemSortLayoutName?if_exists}">${storeItemSortOrder.storeItemSortLayoutValue?if_exists}</option>
+ <option <#if storeItemSortOrder.storeItemSortLayoutValue.equals(ebayStore.storeItemSortOrderSelected) >selected="selected"</#if> value="${storeItemSortOrder.storeItemSortLayoutName!}">${storeItemSortOrder.storeItemSortLayoutValue!}</option>
</#list>
</select>
</td>
@@ -417,7 +417,7 @@ under the License.
<td valign="middle">
<select id="storeCustomListingHeaderDisplay" name="storeCustomListingHeaderDisplay">
<#list ebayStore.storeCustomListingHeaderDisplayList as storeCustomListingHeaderDisplay>
- <option <#if storeCustomListingHeaderDisplay.storeCustomHeaderLayoutValue?if_exists.equals(ebayStore.storeCustomListingHeaderDisplayValue?if_exists) >selected="selected"</#if> value="${storeCustomListingHeaderDisplay.storeCustomHeaderLayoutValue?if_exists}">${storeCustomListingHeaderDisplay.storeCustomHeaderLayoutValue?if_exists}</option>
+ <option <#if storeCustomListingHeaderDisplay.storeCustomHeaderLayoutValue.equals(ebayStore.storeCustomListingHeaderDisplayValue) >selected="selected"</#if> value="${storeCustomListingHeaderDisplay.storeCustomHeaderLayoutValue!}">${storeCustomListingHeaderDisplay.storeCustomHeaderLayoutValue!}</option>
</#list>
</select>
</td>
@@ -427,7 +427,7 @@ under the License.
<td valign="middle">
<select id="storeMerchDisplay" name="storeMerchDisplay">
<#list ebayStore.storeMerchDisplayList as storeMerchDisplay>
- <option <#if storeMerchDisplay.merchDisplayCodeValue?if_exists.equals(ebayStore.storeMerchDisplay?if_exists) >selected="selected"</#if> value="${storeMerchDisplay.merchDisplayCodeName?if_exists}">${storeMerchDisplay.merchDisplayCodeValue?if_exists}</option>
+ <option <#if storeMerchDisplay.merchDisplayCodeValue.equals(ebayStore.storeMerchDisplay) >selected="selected"</#if> value="${storeMerchDisplay.merchDisplayCodeName!}">${storeMerchDisplay.merchDisplayCodeValue!}</option>
</#list>
</select>
</td>
@@ -437,7 +437,7 @@ under the License.
<td valign="middle">
<select id="storeMerchDisplay" name="storeSubscriptionDisplay">
<#list ebayStore.storeSubscriptionLevelList as storeSubscriptionLevel>
- <option <#if storeSubscriptionLevel.storeSubscriptionLevelCodeValue?if_exists.equals(ebayStore.storeSubscriptionLevel?if_exists) >selected="selected"</#if> value="${storeSubscriptionLevel.storeSubscriptionLevelCodeName?if_exists}">${storeSubscriptionLevel.storeSubscriptionLevelCodeValue?if_exists}</option>
+ <option <#if storeSubscriptionLevel.storeSubscriptionLevelCodeValue.equals(ebayStore.storeSubscriptionLevel) >selected="selected"</#if> value="${storeSubscriptionLevel.storeSubscriptionLevelCodeName!}">${storeSubscriptionLevel.storeSubscriptionLevelCodeValue!}</option>
</#list>
</select>
</td>
@@ -457,10 +457,10 @@ under the License.
</form>
</#if>
<script language="Javascript" type="text/javascript">
- <#if themeType?if_exists == "Basic">
+ <#if themeType! == "Basic">
document.StoreSettingForm.storeAdvancedTheme.disabled = true;
document.StoreSettingForm.storeAdvancedThemeColor.disabled = true;
- <#elseif themeType?if_exists == "Advanced">
+ <#elseif themeType! == "Advanced">
document.StoreSettingForm.storeBasicTheme.disabled = true;
document.StoreSettingForm.storePrimaryColor.disabled = true;
document.StoreSettingForm.storeSecondaryColor.disabled = true;
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebaystore/webapp/ebaystore/store/ebayApiKeywordSearch.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebaystore/webapp/ebaystore/store/ebayApiKeywordSearch.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebaystore/webapp/ebaystore/store/ebayApiKeywordSearch.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebaystore/webapp/ebaystore/store/ebayApiKeywordSearch.ftl Mon Aug 18 07:42:27 2014
@@ -48,7 +48,7 @@ under the License.
</div>
<div class="screenlet-body">
<form id="productSearchform" method="post" action="<@o...@ofbizUrl>" style="margin: 0;" name="productSearchform">
- <input type="hidden" name="productStoreId" value="${parameters.productStoreId?if_exists}" />
+ <input type="hidden" name="productStoreId" value="${parameters.productStoreId!}" />
<fieldset>
<input type="hidden" name="VIEW_SIZE" value="25"/>
<input type="hidden" name="PAGING" value="Y"/>
@@ -66,7 +66,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>
@@ -92,7 +92,7 @@ under the License.
</#list>
</select>
<#else>
- <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID?if_exists}" formName="productSearchform" name="SEARCH_CATEGORY_ID" id="searchCategoryId" fieldFormName="LookupProductCategory"/>
+ <@htmlTemplate.lookupField value="${requestParameters.SEARCH_CATEGORY_ID!}" formName="productSearchform" name="SEARCH_CATEGORY_ID" id="searchCategoryId" fieldFormName="LookupProductCategory"/>
</#if>
</div>
</td>
@@ -103,7 +103,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>
@@ -113,7 +113,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>
@@ -123,7 +123,7 @@ under the License.
</td>
<td valign="middle">
<div>
- <input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING?if_exists}" />
+ <input type="text" name="SEARCH_STRING" size="40" value="${requestParameters.SEARCH_STRING!}" />
${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>
Modified: ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebaystore/webapp/ebaystore/store/orderImported.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebaystore/webapp/ebaystore/store/orderImported.ftl?rev=1618554&r1=1618553&r2=1618554&view=diff
==============================================================================
--- ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebaystore/webapp/ebaystore/store/orderImported.ftl (original)
+++ ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23/specialpurpose/ebaystore/webapp/ebaystore/store/orderImported.ftl Mon Aug 18 07:42:27 2014
@@ -66,9 +66,9 @@ function uploadTrackingCode(orderId, pro
<#assign statusItem = orderHeader.getRelatedOne("StatusItem", true)>
<#assign orderType = orderHeader.getRelatedOne("OrderType", true)>
<#if orderType.orderTypeId == "PURCHASE_ORDER">
- <#assign displayParty = orh.getSupplierAgent()?if_exists>
+ <#assign displayParty = orh.getSupplierAgent()!>
<#else>
- <#assign displayParty = orh.getPlacingParty()?if_exists>
+ <#assign displayParty = orh.getPlacingParty()!>
</#if>
<#assign partyId = displayParty.partyId?default("_NA_")>
<tr valign="middle"<#if alt_row> class="alternate-row"</#if>>
@@ -120,7 +120,7 @@ function uploadTrackingCode(orderId, pro
<td colspan='4'><h3>${uiLabelMap.EbayNoOrderImported}.</h3></td>
</tr>
</#if>
- <#if lookupErrorMessage?exists>
+ <#if lookupErrorMessage??>
<tr>
<td colspan='4'><h3>${lookupErrorMessage}</h3></td>
</tr>