Hmmm... tricky. Can you include the following info:
1. the exact request you are making (the url)
2. the structure of your data directory (perhaps the output of "find ." from the root of it)
3. the kml you are getting back
Hopefully with that info we can figure out what is going on.
-Justin
gershwinou wrote:
Hey Justin,
Nope put the file under featureTypes/<yourFeatureType>
getting the default table back. I tried in topp:states layer as well, does not work either
my feature is from postgis.
Thanks a lot for the reply
On 25/07/07, *Justin Deoliveira* <jdeolive@anonymised.com <mailto:jdeolive@anonymised.com>> wrote:
Hi gersh,
Just to verify... you put the description.ftl in the "description.ftl"
file under "featureTypes/<yourFeatureType>" and not just under
"featureTypes"?
Also... a bit more info about what you are getting back. Are you getting
the default description back (the html table with all the attributes).
Or are you getting nothing back?
Also do you see any errors logged by GeoServer?
-Justin
gershwinou wrote:
> Hi all,
> And thanks for this nice piece of software.
> I have encountered a problem. I want to change the default ftl
for the
> kml layer. Following the tutorial i created a description.ftl
file with
> simple "Hello World" in my featureTypes subdirectory. But nothing
happens.
>
> I tried every kind of stupid change like changing file name, rights,
> folders etc...
>
> Any idea why? (i use geoserver 1.5.1 on linux centos)
>
> gersh
>
------------------------------------------------------------------------
>
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a
browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
>
> !DSPAM:4007,46a76b3e15362458217002!
>
------------------------------------------------------------------------
>
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
<mailto:Geoserver-users@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> !DSPAM:4007,46a76b3e15362458217002!
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org
!DSPAM:4007,46a76e1623362458217002!
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org