Note |
---|
Please make sure you have read the Tag Syntax document and understand how tag attribute syntax works. |
Description
Wiki Markup |
---|
{snippet:id=javadoc|javadoc=true|url=com.opensymphony.webwork.components.Text} |
Parameters
Wiki Markup |
---|
{snippet:id=tagattributes|javadoc=false|url=webwork/docs/tags/Text.html} |
Examples
Wiki Markup |
---|
{snippet:id=exdescription|lang=none|javadoc=true|url=com.opensymphony.webwork.components.Text} |
Wiki Markup |
---|
{snippet:id=example|lang=xml|javadoc=true|url=com.opensymphony.webwork.components.Text} |
Other example
Code Block |
---|
|
<ww:text name="format.money"><ww:param name="value" value="myMoneyValue"/></ww:text>
|
where
Code Block |
---|
format.money={0,number,currency}
|
For documentation on possibilities for formatting text, see
- http://java.sun.com/j2se/1.4.2/docs/api/java/text/MessageFormat.html
- http://java.sun.com/docs/books/tutorial/i18n/format/decimalFormat.html