Hi,I'm working on a Template management UI (FreeMarker GetFeatureInfo templates), as an extension for geoserver web UI. I'm trying to figure out how to properly write the templates files in the data dir. I suppose I should not build myself the file path, but use some internal resource management class, so that it would adapt to whatever config storage system is configured (default file storage or JDBC). I guess the information is somewhere, but I've spent the whole afternoon looking for it, so I'd be glad if someone could give me some light on the matter.
By the way, is there an easy way to get the path corresponding to, say, a layer (the path to where its .xml config file is stored) ?
Thanks, Jean -- *Jean Pommier -- pi-Geosolutions* Ingénieur, consultant indépendant Tél. : (+33) 6 09 23 21 36 E-mail : j...@pi-geosolutions.fr Web : www.pi-geosolutions.fr
------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel