Dear Geoserver Users,

currently we experienced a problem with the freemarker Templates and the 
GetFeatureRequest. If Geoserver couldn't find any feature and therefore the 
response of GetFeature is empty, we want to show a "No results" message instead 
of the empty html.

As far as we know only the content-Freemarker Template has access to the 
features returned from the server. But unfortunately the content.ftl is never 
executed if the response was empty.
Consequently it's not possible to show such a message, because you don't have 
access to the features in the header.ftl to check if the result is null and the 
content.ftl (where we could check) is never executed.

Is there any workaround for this problem?

Kind regards,
Anna
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to