On Wed, Oct 31, 2012 at 3:41 PM, Justin Deoliveira <[email protected]> wrote:
> Well my idea was that it would a plain text representation, the contents of
> which would be the raw ftl sources.
>
> What will the json/xml representation look like?

Ok, we have two types of resources:
a) rest/workspaces/templates
b) rest/workspaces/templates/footer.ftl

a) is the list of templates available on disk, the actual ones.
It's not ftl, it's a list of links to the actual ftls.
This one would be html, xml or json, just like the layer list or anything else.

b) is the actual ftl, I only foresee the ftl representation itself, and the
idea of using text/plain as the content type makes a lot of sense

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to