Nuno Oliveira ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A045c74f7-38ab-4dfa-af2b-2d9e961e7a48
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYjNiNTllNDg2MDY1NDRmMGJiMTlhMDk5YTQ0Y2ZiYTgiLCJwIjoiaiJ9
 ) / New Feature ( 
https://osgeo-org.atlassian.net/browse/GEOS-10287?atlOrigin=eyJpIjoiYjNiNTllNDg2MDY1NDRmMGJiMTlhMDk5YTQ0Y2ZiYTgiLCJwIjoiaiJ9
 ) GEOS-10287 ( 
https://osgeo-org.atlassian.net/browse/GEOS-10287?atlOrigin=eyJpIjoiYjNiNTllNDg2MDY1NDRmMGJiMTlhMDk5YTQ0Y2ZiYTgiLCJwIjoiaiJ9
 ) Extend GeoServer freemarker templates support to read properties from a JSON 
file ( 
https://osgeo-org.atlassian.net/browse/GEOS-10287?atlOrigin=eyJpIjoiYjNiNTllNDg2MDY1NDRmMGJiMTlhMDk5YTQ0Y2ZiYTgiLCJwIjoiaiJ9
 )

Issue Type: New Feature Affects Versions: 2.21-RC Assignee: Nuno Oliveira ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A045c74f7-38ab-4dfa-af2b-2d9e961e7a48
 ) Components: Community modules Created: 25/Oct/21 11:29 AM Priority: Medium 
Reporter: Nuno Oliveira ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A045c74f7-38ab-4dfa-af2b-2d9e961e7a48
 )

This will provide the ability to include | use JSON properties from a JSON file 
inside free-marker templates:

<#assign props = item.assets.value?eval_json>
<p> <b> Assets: </p> </b>
<ul>
<#list props as k, v>
<#if v.href?has_content>
<li> <a href= "${v.href}" > ${(v.title)!k} </a>
<#else>
<li> ${(v.title)!k} (missing link)
</#if>
</li>
</#list>
</ul>

( 
https://osgeo-org.atlassian.net/browse/GEOS-10287#add-comment?atlOrigin=eyJpIjoiYjNiNTllNDg2MDY1NDRmMGJiMTlhMDk5YTQ0Y2ZiYTgiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-10287#add-comment?atlOrigin=eyJpIjoiYjNiNTllNDg2MDY1NDRmMGJiMTlhMDk5YTQ0Y2ZiYTgiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100183- 
sha1:51e3c50 )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to