You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by gd...@cmhc-schl.gc.ca on 2005/01/19 18:38:38 UTC
format attribute of the Bean:Write tag
Hi,
1. I'd like to find some documentation on the possible values for format
attribute of the Bean:Write tag.
2. What I'd like to do is to convert to lowercase the property value
during a Bean:Write.
TIA,
Glenn
Re: format attribute of the Bean:Write tag
Posted by gd...@cmhc-schl.gc.ca.
After waiting sometime for any suggestions I decided to download the
source code and look at the format attribute of the Write tag.
String values are never formatted.
// Return String object as is.
if ( value instanceof java.lang.String ) {
return (String)value;
} else {
if ( value instanceof Number ) {
...
} else if ( value instanceof java.util.Date ) {
....
- Glenn
gdeschen@cmhc-schl.gc.ca
19/01/2005 12:38 PM
Please respond to "Struts Users Mailing List"
To: user@struts.apache.org
cc:
Subject: format attribute of the Bean:Write tag
Classification:
Hi,
1. I'd like to find some documentation on the possible values for format
attribute of the Bean:Write tag.
2. What I'd like to do is to convert to lowercase the property value
during a Bean:Write.
TIA,
Glenn