Hi, I'm using version 2.1.3.

I've created this three files and place it to the layer dir (
\workspaces\<workspace>\<data_store>\<layer>\ ),  but it doesn't work. 

Should I have some other file? I don't have any template folder,
template.ftl or something like this. I've looked all folders as
FreemakerTemplates tutorial says and I didn't found anything. 


I want to display the layer info as a list, so I've put this on the
content.ftl:

<ul class="a">
<#list features as feature>
  <li>*Type: ${type.name}* (id: <em>${feature.fid}</em>):
  <ul class="b">
  <#list feature.attributes as attribute>
    <#if !attribute.isGeometry>
      <li>${attribute.name}: ${attribute.value}</li>
    </#if>
  </#list>
  </ul>
  </li>
</#list>
</ul>

and this in the header.ftl

<html>
  <head>
    <title>Projectes d'AUMA</title>
  </head>
  
  <body>


Is that ok??

Thanks!

--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Where-to-place-ftl-template-files-in-GeoServer-2-0-0-tp3800333p4494867.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to