You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2010/04/07 06:02:36 UTC

svn commit: r931426 - /ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl

Author: hansbak
Date: Wed Apr  7 04:02:36 2010
New Revision: 931426

URL: http://svn.apache.org/viewvc?rev=931426&view=rev
Log:
ebaystore:  show country name in export product screen.

Modified:
    ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl

Modified: ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl?rev=931426&r1=931425&r2=931426&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl (original)
+++ ofbiz/trunk/specialpurpose/ebaystore/webapp/ebaystore/store/productsearchExport.ftl Wed Apr  7 04:02:36 2010
@@ -402,7 +402,13 @@ under the License.
                                         </tr-->
                                         <tr>
                                             <td class="label">${uiLabelMap.CommonCountry}</td>
-                                            <td><input type="text" readOnly name="country" size="20" value="${item.getCountry().value()?if_exists}"/></td>
+                                             <#if item.getCountry().value()?exists>
+                                                <#assign country = Static["org.ofbiz.entity.util.EntityUtil"].getFirst(delegator.findByAnd("Geo", {"geoCode": item.getCountry().value()}))/>
+                                                <#if country?has_content>
+                                                    <#assign countryname = country.geoName/>
+                                                </#if>
+                                            </#if>
+                                            <td><input type="text" readOnly name="country" size="20" value="${countryname?if_exists?default(item.getCountry().value()?if_exists)}"/></td>
                                         </tr>
                                         <tr>
                                             <td class="label">${uiLabelMap.FormFieldTitle_location}</td>