I created two views in postgres and I just added both views to geoserver. I am using Freemarker Template to create a custom popup table output. I am currently just using layer preview to see the output.Below is the structure. In one of my Views, the last two columns are labeled Photo and Plans. I would like to hyperlink the values of these two columns. Since you can wrap ftl inside html, I should be able to use a
<table border="1" width="420" cellpadding="2" cellspacing="2">
<#list features as feature>
<b>Type: ${type.name}</b>
<tr>
<th>Field Name</th><th>Field Value</th>
</tr>
<#list feature.attributes as attribute>
<tr>
<#if !attribute.isGeometry>
<th align="left";><b>${attribute.name}<b> <td align="center";>${attribute.value}
</td></th>
</tr>
</#if>
</#list>
</table>
</#list>
