Custom JSP tag. Lets you format currency value. Data
will be presented as a body. For example:
<set:Currency>123456.78</set:Currency>
<!-- according to GERMAN locale: -->
<set:Currency locale="<%=java.util.Locale.GERMAN%>">257.67</set:Currency>
Tags are:
Currency
Body tag. Formats value presented as a body according to currency presentation rules. Parameters are:
1) locale Optional parameter: describes any
valid locale. By default request's locale will be used.
2) id Optional parameter. Describes page
scope variable for data (type is java.lang.String). Without this parameter tag just prints
data.
3) positiveColor Optional parameter. Describes
a color for the positive value
4) negativeColor Optional parameter. Describes
a color for the negative value
for downloading:
Library: curtag.jar Description: taglib.tld
See also Coldtags suite - the largest collection of custom JSP tags.