sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feike Visser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SLING-6633) [sightly] NumberFormat should support String-properties with number value
Date Fri, 10 Mar 2017 16:40:04 GMT

     [ https://issues.apache.org/jira/browse/SLING-6633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Feike Visser updated SLING-6633:
--------------------------------
    Issue Type: Improvement  (was: Bug)

> [sightly] 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
>            Reporter: Feike Visser
>
> 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)

Mime
View raw message