Thank you for your fix, It can work by default. but When i user t:format="yyyy/mm/dd" for dateFIeld to format the data ,it return '2008/00/26' too .the month is always "00".
2008/10/1 Konstantin <[EMAIL PROTECTED]> > > Ok. I've created a workaround. > > package myapphere.mixins; > > import org.apache.tapestry5.annotations.IncludeJavaScriptLibrary; > import org.apache.tapestry5.annotations.MixinAfter; > > @IncludeJavaScriptLibrary("datefield-tzfix.js") > @MixinAfter > public class DateFieldTzFix { > } > > ----- > Using in: > -page class: > > private Date dateValue; > > @Component(parameters = {"value=dateValue"}) > @Mixins("DateFieldTzFix") > private DateField dateField; > > -tml: > > <t:datefield t:id="dateField"/> > > And I added just my timezones: EEST, EET. So you'll have to add your own > too > in datefield-tzfix.js script see attachement. > http://www.nabble.com/file/p19756273/datefield-tzfix.js datefield-tzfix.js > -- > View this message in context: > http://www.nabble.com/Tapestry-5.0.15-DateField-localization-problem-tp19723586p19756273.html > Sent from the Tapestry - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- 得与失都是生活