Hi,

It looks like DatePickerSettings.setIfFormat no longer works. The value
set by it is always overwritten by DatePicker.getInitScript, which
calls settings.toScript with format taken from DateConverter.

I would like two changes here:

- adjust DatePickerSettings.toScript so that it calls setIfFormat only
  if ifFormat is null, ie. programmer hasn't provided any default.

- adjust DatePicker so that it takes the DateConverter from ConverterFactory.
 Now it just creates an instance of DateConverter, which might have different
 format than the instance returned by ConverterFactory (which is used by 
textfields).
 This can result in situations where date string returned by picker is not 
parseable
 by text field.

   Ari S.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to