Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Cannot Reproduce
-
4.1.1
-
None
-
IE 6 sp2 + all updates, latest FF 1.5
Description
My page has 2 drop-down date picker components, start and end date. The initial values are java.util.Date objects with values for 01/01/2006 and 01/01/2100 respectively. In IE, the Widgets appear properly with these starting text values, including the 4-digit years. In Firefox, the start date appears as "01/01/06" and the end date as "01/01/00" which is incorrect, as this translates to "01/01/2000" with the default date logic.
I don't know why the behavior is different between platforms, but it is wrong. Here is the JavaScript Widget creation call generated by Tapestry (same on both platforms):
tapestry.widget.synchronizeWidgetState("startDate", "DropdownDatePicker",
{"inputId":"startDate","inputName":"startDate","iconAlt":"Select a Date","displayFormat":"MM/dd/yy","lang":"en_US","value":1136102400000,"disabled":false});
tapestry.widget.synchronizeWidgetState("endDate", "DropdownDatePicker",
{"inputId":"endDate","inputName":"endDate","iconAlt":"Select a Date","displayFormat":"MM/dd/yy","lang":"en_US","value":4102473600000,"disabled":false});