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] [Created] (SLING-6633) [sightly] NumberFormat should support String-properties with number value
Date Fri, 10 Mar 2017 16:39:04 GMT
Feike Visser created SLING-6633:
-----------------------------------

             Summary: [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: Bug
          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