You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2017/03/13 08:20:04 UTC
[jira] [Updated] (SLING-6633) [HTL] NumberFormat should support
String-properties with number value
[ https://issues.apache.org/jira/browse/SLING-6633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu updated SLING-6633:
--------------------------------
Summary: [HTL] NumberFormat should support String-properties with number value (was: [sightly] NumberFormat should support String-properties with number value)
> [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)