struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Regan, Patrick" <PRe...@crt.xerox.com>
Subject RE: bean:write format
Date Tue, 25 Jun 2002 13:21:48 GMT
The bean write format option does work for dates.  I was playing with it
yesterday and things like "mm/dd/yyyy" worked fine.

Pat

-----Original Message-----
From: gnanaseelan [mailto:gnanaseelane@indscape.com]
Sent: Thursday, February 28, 2002 6:39 AM
To: Struts Users Mailing List
Subject: Re: bean:write format


Hi

  The best way to format date is using SimpleDateFormat class .but i think
its better to go traditional way of vaildation

hope this could be helpful

Gnan
----- Original Message -----
From: "Graham Lounder" <lounder@caris.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Tuesday, June 25, 2002 4:38 PM
Subject: bean:write format


> Hello All,
>
> I can't seem to find much documentation on the format option of the
> bean:write tag.  I've search the mail archive and couldn't find anything.
>
> I was able to format numbers by using ###.##0.00 in the format option.  My
> question is, can you also format dates? Strings(etc phone numbers, postal
> codes)?  What is the best way to do this in struts.
>
> If there is no easy way to do this in struts, what else can you recomend?
I
> believe there is a jakarta taglib which does some of this stuff.  Has
anyone
> used it?
>
> Thanks in advance,
> Graham
>
> ============================================
>   Graham Lounder
>   Java Developer
>   Spatial Components Division
>   CARIS
>   264 Rookwood Ave
>   Fredericton NB E3B-2M2
>   Office 506 462-4218
>   Fax    506 459-3849
>   graham.lounder@caris.com
>   http://www.spatialcomponents.com
> ============================================
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message