[
https://issues.apache.org/jira/browse/WW-3284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13176838#comment-13176838
]
Hudson commented on WW-3284:
----------------------------
Integrated in Struts2 #398 (See [https://builds.apache.org/job/Struts2/398/])
WW-3284 - adds new Number tag
lukaszlenart :
Files :
*
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/Number.java
*
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/views/jsp/NumberTag.java
* /struts/struts2/trunk/core/src/site/resources/tags/number.html
* /struts/struts2/trunk/core/src/test/java/org/apache/struts2/TestAction.java
*
/struts/struts2/trunk/core/src/test/java/org/apache/struts2/views/jsp/NumberTagTest.java
> Support for a "Number" jsp tag to compliment the Date tag
> ---------------------------------------------------------
>
> Key: WW-3284
> URL: https://issues.apache.org/jira/browse/WW-3284
> Project: Struts 2
> Issue Type: New Feature
> Components: Core Actions
> Affects Versions: 2.1.8
> Reporter: Graham Leggett
> Assignee: Lukasz Lenart
> Fix For: 2.3.2
>
> Attachments: struts-number-tag.patch
>
>
> The attached patch brings in support for a "Number" tag, to compliment the
> "Date" tag, exposing the java.text.NumberFormat class.
> The main purpose of this tag is to render currency amounts, which are
> typically expressed as a java.util.Currency and a java.math.BigDecimal.
> Currently, you can render currency amounts using a format string, but this
> presupposes that you preselect a given currency, with a given symbol, and
> given fraction digits.
> With this tag, you are able to take a UBL XSD, put it through JAXB to produce
> a set of javabeans, and print currency amounts without being forced to
> pre-render the amounts in the action class.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira