struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HG" ...@websolver.dk>
Subject Re: ups - again: struts-user@jakarta.apache.org
Date Thu, 27 Nov 2003 09:46:07 GMT
If I recall correctly the text tag does not support formatting... Strange
though...

I used an approach where my FormBean instance took care of formatting and
converting between the string representation of a date and the Date object
in a locale neutral way using Calendar class.


<Mario.Gleichmann2@Dresdner-Bank.com> skrev i en meddelelse
news:A97EC97D836DCB4CBC7851BD3B9630B2138233@ffz00zmb.ffz00e.mail.dresdner.net...
> Hi,
>
> within the bean:write tag, i am able to format a property like this:
>
> <bean:write name="myRendevousVO" property="date"
> format="dd.MM.yyyy"/>
>
> Is there a chance to format a property within the html:text tag the same
> way, like:
>
> <html:text name="myRendevousVO" property="date" format="dd.MM.yyyy"
> />
>
> ... or do i have to choose another approach in order to get formatted
> properties into a textfield???
>
> Thanks in advance for your help :o)
>
> Mario Gleichmann




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


Mime
View raw message