Hello,

> I agree with you - java.util.Date values must be converted as Date
> values too. But how do we switch between Date, Time and Date-Time
> values?
> I view one way to solve such problem - add formatKey attribute to hold
> key to retrieve format string from resources.

Thats a good point, I didn't think of that.

A new formatKey is a good idea. I don't know how
your philospohy is on nightly builds, but I think
changing the formatKeys is no problem, since they don't
exist in struts 1.0, therfore I would think of
something like
org.apache.struts.taglib.bean.format.sql.date=yyyy/MM/dd
org.apache.struts.taglib.bean.format.util.date=yyyy/MM/dd HH:mm:ss

Thats definetly better than the .toString output like
now.

Volker



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to