There's any way to show one attribute only if is not null? Following the tutorial of freeMarker I've tried this:
<#if feature.NOMBRE99.value??> <li></li> <#else> <li>*Provincia:* ${feature.NOMBRE99.value}</li></#if> Pretending to display an empty list if the value is missing and the value with the tag "Provincia" if it exist, but with this code popup never displays this attribute event if exist. I know that if I only put ${feature.NOMBRE99.value} without tag, when empty will not display anything, but when says something the tag won't be there and will have no meaning. Thanks! -- View this message in context: http://osgeo-org.1560.n6.nabble.com/if-condition-in-getfeatureinfo-template-tp4520996p4520996.html Sent from the GeoServer - User mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users