Hi list,
What happened to the WMS GetFeatureInfo response Freemarker template?

In GeoServer 1.7.4 it worked fine my content.ftl file:

<#list features as feature>
    <table class="featureInfo">
        <caption class="featureInfo">${feature.type.title}</caption>
            <#list feature.attributes as attribute>
                <tr id="${feature.fid}"  style="font-size: 12px;">
                <#if !attribute.isGeometry>

<td>${attribute.name}:</td><td>${attribute.value?string}</td>

                </#if>
                </tr>
            </#list>
    </table>
    <br>
</#list>

Now GeoServer (2.1.2) react differently

   - feature.type.title: is not the layer-title but the layer-name (with a
   "Layer: " prefix)
   - feature.type.abstract: returns always "[No Abstract Provided]"


Have someone some ideas or suggestions? If the solution is to make
modification to the org.geoserver.template.FeatureWrapper class can you
give me some advices?


Best regards

  Milan
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to