PDA

View Full Version : Problem with datepicker error icon



karthick_3d
6 Jul 2008, 11:16 AM
Hi,

The datepicker is not putting the error icon next to the text box if I modify the width of the datepicker box. Please check the attached image.
Is there any other way to bring the icon next to the datepicker box if I modify the width of the datepicker box.

Here is the source that I have modified in ColumnFormPanel.java of Explorer application.


DateField birthday = new DateField();
birthday.setFieldLabel("Birthday");
birthday.setAllowBlank(false);
birthday.setAutoWidth(true);
birthday.setData("anchorSpec", "-20");
left.add(birthday);

Regards
Karthick

karthick_3d
9 Jul 2008, 12:32 PM
Hi,

Could you please let me know If I could do something different to solve this bug?

Regards
Karthick

darrellmeyer
10 Jul 2008, 9:49 PM
You should not set auto width to true. Also, the anchorSpec should be 30 or greater to allow enough room for the error icon.

karthick_3d
12 Jul 2008, 7:57 AM
Thanks Darrell,

It worked this time. But when I do the same in the dialog box the datepicker link was not working properly (please check the attached image). I used the wizard dialog submitted by one of the user.
Is this a know issue? If yes please let me know If this will be addressed soon.

Thanks & Regards
Karthick