Hi,
I solved my little newbie problem. The geoserver Documentation was not up to
date.
<#--
Body section of the GetFeatureInfo template, it's provided with one feature
collection, and
will be called multiple times if there are various feature collections
-->
<table class="featureInfo">
<caption class="featureInfo">Dateiname: ${type.name}</caption>
<tr>
<#list type.attributes as attribute>
<#if !attribute.isGeometry>
<#if attribute.name!="Objekt_ID">
<#if attribute.name!="Standort">
<#if attribute.name!="Koord_Y">
<#if attribute.name!="Koord_X">
<#if attribute.name!="Stand">
<#if attribute.name!="Test">
<th >${attribute.name}</th>
</#if>
</#if>
</#if>
</#if>
</#if>
</#if>
</#if>
</#list>
</tr>
<#assign odd = false>
<#list features as feature>
<#if odd>
<tr class="odd">
<#else>
<tr>
</#if>
<#assign odd = !odd>
<#list feature.attributes as attribute>
<#if !attribute.isGeometry>
<#if attribute.name!="Objekt_ID">
<#if attribute.name!="Standort">
<#if attribute.name!="Koord_Y">
<#if attribute.name!="Koord_X">
<#if attribute.name!="Stand">
<#if attribute.name!="Test">
<td>${attribute.value}</td>
</#if>
</#if>
</#if>
</#if>
</#if>
</#if>
</#if>
</#list>
</tr>
</#list>
</table>
<br/>
I don´t know if it is the best solution, but as a workaround it seems to work.
I
wasn´t sure how to nest the "IF" statements.
Thanks,
Robert Buckley
www.zgb.de
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users