Hi all

I have set my struts.date.format properties but they seem to have no effect
at all. The set value is 
struts.date.format=yyyy-MM-dd but when using the <s:date> tag the format is
for example "Jan 14, 2008 8:00:00 AM". All my other properties take effect
so there's no problem with setting other values via the struts.properties
file.

In this case am trying to print a java.util.Date object with <s:date
name="starts" />. It will print out fine if I for instance use <s:date
name="myDate" format="[EMAIL PROTECTED]@MY_FORMAT}" />

I've also noticed that since you can't nest S2 tags the <s:date> tag becomes
pretty useless because you can't use it within <s:url> actions. Is there a
way around this?

Thanks!
-- 
View this message in context: 
http://www.nabble.com/%3Cs%3Adate%3E-tp16084868p16084868.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to