[
https://issues.apache.org/jira/browse/SLING-6633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Radu Cotescu closed SLING-6633.
-------------------------------
> [HTL] NumberFormat should support String-properties with number value
> ---------------------------------------------------------------------
>
> Key: SLING-6633
> URL: https://issues.apache.org/jira/browse/SLING-6633
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Affects Versions: Scripting HTL Java Compiler 1.0.6
> Reporter: Feike Visser
> Assignee: Radu Cotescu
> Fix For: Scripting HTL Java Compiler 1.0.10
>
>
> When a node-property is a String-type, but contains a numeric value then
> there should be done a best effort to do a casting.
> {code}
> <h2>${ '#.00' @
> format=linkPage['root/product-grid-container/product-grid/childDepth']}</h2>
> {code}
> It the moment the numberFormat is displayed.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)