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]

Reply via email to