When using the control in a forms API (FormToolkit),
paintBordersFor() won't work. This is not specifically
a bug for DatePicker, but really it's a bad
implementation on the paitBordersFor method in the
Forms API. It'd be nice if the widget would paint a
flat border, but if not, I've included a subclass on
FormToolkit that people can use if they want the widget
to be part of the form. I'll also include a screenshot
to show the result.
result of custom form toolkit
Logged In: YES
user_id=182888
Here's the code...
form toolkit code that'll render the datepicker with a flat border
Logged In: YES
user_id=891422
Thank you for your participation. We will integrate you
patch ASAP.
Logged In: YES
user_id=182888
There's a bug in the patch... there should not be a "break"
at the end paintControl method.