Thank You, that works great. But what about the lines I added to the
"dataGeoData_DE.xml" file? Will they only be loaded when I run an
installation again?
The link
https://demo-stable.ofbiz.apache.org:8443/webtools/control/FindGeneric?entityName=GeoAssocAndGeoTo
causes an error like
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://webtools/widget/EntityScreens.xml#FindGeneric]:
org.ofbiz.base.util.GeneralException: Error running Groovy script at
location
[component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.groovy]
( ............
Best Regards,
Rudolf
Atul Vani schrieb:
Hi R.S.,
The deprecated warning is coz of "EntityExpr" you can use
"EntityCondition" instead.
About GeoAssocAndGeoTo, rel-optional is not something that would be of
help here. and with just the data loaded properly it should show up.
I tried it on demo-stable server and it works for me. you can verify
it from
https://demo-stable.ofbiz.apache.org:8443/webtools/control/FindGeneric?entityName=GeoAssocAndGeoTo
just in case, if you need steps,
1. goto https://localhost:8443/webtools/control/EntityImport
2. paste the data below and hit 'Import Text button.
<GeoAssoc geoId="DE" geoIdTo="DE-BW" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-BY" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-BE" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-BR" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-HB" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-HH" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-HE" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-MV" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-NI" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-NW" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-RP" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-SL" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-SH" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-SN" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-SA" geoAssocTypeId="REGIONS"/>
<GeoAssoc geoId="DE" geoIdTo="DE-TH" geoAssocTypeId="REGIONS"/>
3. verify the data from
https://localhost:8443/webtools/control/FindGeneric?entityName=GeoAssocAndGeoTo