Figured it out!!
Nested IFs!
<#--
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">${type.name}</caption>
<tr>
<#list type.attributes as attribute>
<#if !attribute.isGeometry>
<#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>
</#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!="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>
</#list>
</tr>
</#list>
</table>
<br/>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users