When setting the RelativeDateItem value to "$now", is it supposed to take the current day/time and display that in the calculated date field? What I am seeing now is it takes the time from when the component was initialized, not actually "now". The same occurs if you use the drop-down and not use setValue.
Announcement
Collapse
No announcement yet.
X
-
Originally posted by Isomorphic View PostSetting it to $now again would cause it to refreshed.
It's not clear that the component has a clear way of knowing when you might want it refreshed (except in narrow cases like ListGrid filterEditor and MiniDateRangeItem).
Yes, you can set it to "$now" but it retains the original time.
How can you tell it to refresh the time? Is there no way?
Using the drop-down to select Now has the same effect, so presumably it goes through the same code.
Comment
-
Here is code that demonstrates the problem.
Set it to "Now". Wait for a minute to pass, select "Yesterday" and then select "Now". Time does not change. When will it refresh?
Code:package com.corp.smartgwt.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.i18n.client.DateTimeFormat; import com.smartgwt.client.widgets.Canvas; import com.smartgwt.client.widgets.form.DynamicForm; import com.smartgwt.client.widgets.layout.HLayout; import com.smartgwt.client.util.DateUtil; import com.smartgwt.client.widgets.form.fields.RadioGroupItem; import com.smartgwt.client.widgets.form.fields.RelativeDateItem; import com.smartgwt.client.util.DateDisplayFormatter; import com.smartgwt.client.util.DateParser; import com.smartgwt.client.util.SC; import com.smartgwt.client.data.RelativeDate; import com.smartgwt.client.types.Overflow; import com.smartgwt.client.types.TimeUnit; import com.smartgwt.client.widgets.form.fields.events.ChangedEvent; import com.smartgwt.client.widgets.form.fields.events.ChangedHandler; import com.smartgwt.client.widgets.form.validator.DateRangeValidator; import java.util.Date; import java.util.LinkedHashMap; public class SmartGwt implements EntryPoint { private RelativeDateItem theStartDateItem; private RelativeDateItem theEndDateItem; private static String DATE_FORMAT = "dd.MMM.yyyy HH:mm"; private static String RADIOGROUP_NAME = "radiogroup1"; private RadioGroupItem theFilterRadioGroup; private static final String RB1_LABEL_TEXT = "Disable"; private static final String RB2_LABEL_TEXT = "Enable 1"; private static final String RB3_LABEL_TEXT = "Enable 2"; private final static LinkedHashMap<String, String> theDatePresets = new LinkedHashMap<String, String>(); static { theDatePresets.put("$now", "Now"); theDatePresets.put("$yesterday", "Yesterday"); theDatePresets.put("$tomorrow", "Tomorrow"); theDatePresets.put("-1w", "Current day of last week"); theDatePresets.put("+1w", "Current day of next week"); theDatePresets.put("+1m", "Current day of next month"); theDatePresets.put("-1m", "Current day of last month"); } @Override public void onModuleLoad() { HLayout layout = new HLayout(); DynamicForm form = new DynamicForm(); form.setFields(getFilterRadioGroup(), getStartDateItem(), getEndDateItem()); layout.addMember(form); layout.draw(); } /** * This method returns a RadioGroupItem consisting of None, * Image Date, and Load Date. It uses lazy initialization. * @return RadioGroupItem */ private RadioGroupItem getFilterRadioGroup() { if (theFilterRadioGroup == null) { theFilterRadioGroup = new RadioGroupItem(RADIOGROUP_NAME); theFilterRadioGroup.setValueMap(RB1_LABEL_TEXT, RB2_LABEL_TEXT, RB3_LABEL_TEXT); theFilterRadioGroup.setShowTitle(false); theFilterRadioGroup.setDefaultValue(RB1_LABEL_TEXT); theFilterRadioGroup.setGlobalTabIndex(21); getStartDateItem().setDisabled(true); getEndDateItem().setDisabled(true); theFilterRadioGroup.addChangedHandler(new ChangedHandler() { /* * This method should fire anytime a user changes the radio button selection. */ @Override public void onChanged(ChangedEvent event) { if (theFilterRadioGroup.getValueAsString().equals(RB1_LABEL_TEXT)) { getStartDateItem().setDisabled(true); getEndDateItem().setDisabled(true); } else if (theFilterRadioGroup.getValueAsString().equals(RB2_LABEL_TEXT)) { getStartDateItem().enable(); getStartDateItem().updateState(); getEndDateItem().enable(); getEndDateItem().updateState(); } else { getStartDateItem().enable(); getStartDateItem().updateState(); getEndDateItem().enable(); getEndDateItem().updateState(); } } }); } return theFilterRadioGroup; } private void changeDateFormat() { DateUtil.setShortDatetimeDisplayFormatter(new DateDisplayFormatter() { public String format(Date date) { if(date == null) { return null; } else { final DateTimeFormat dateFormatter = DateTimeFormat.getFormat(DATE_FORMAT); return dateFormatter.format(date); } } }); // It is a requirement that we implement a custom date parser or the onChanged event // will not fire. DateUtil.setDateParser(new DateParser() { public Date parse(String dateString) { final DateTimeFormat format = DateTimeFormat.getFormat(DATE_FORMAT); return format.parse(dateString); } }); } private RelativeDateItem getStartDateItem() { if (theStartDateItem == null) { changeDateFormat(); theStartDateItem = new RelativeDateItem("start_date"); theStartDateItem.setTitle("Start"); theStartDateItem.setShowFutureOptions(false); theStartDateItem.setShowPastOptions(true); // By setting this to essentially a blank LinkedHashMap, it will clear out the preset // options we do not want. // theStartDateItem.setPresetOptions(new LinkedHashMap()); theStartDateItem.setTimeUnitOptions(getTimeOptions()); theStartDateItem.setDefaultQuantity(1); theStartDateItem.setPresetOptions(theDatePresets); theStartDateItem.setOverflow(Overflow.VISIBLE); theStartDateItem.addChangedHandler(new ChangedHandler() { @Override public void onChanged(ChangedEvent event) { // Test if this is a relative date selection so we can save it that way RelativeDate relDate = theStartDateItem.getRelativeDate(); Date startDate = (Date)theStartDateItem.getValue(); Date endDate = (Date)getEndDateItem().getValue(); // Per the JavaDoc, compareTo returns less than 0 if the date is before the compared // date. So in this case, if the endDate is before the startDate, then we show // the error. No changes will be made to the model until the error is cleared. if (endDate.compareTo(startDate) < 0) { getEndDateItem().getForm() .setFieldErrors("end_date", "invalid date", true); } else { getEndDateItem().getForm() .clearFieldErrors("end_date", true); } } }); } return theStartDateItem; } /** * This will return an array of SmartGWT TimeUnit options that we want to add to our drop-down * for the Start and End date RelativeDateItem's * * @return array of TimeUnit's */ private TimeUnit[] getTimeOptions() { TimeUnit[] units = new TimeUnit[5]; units[0] = TimeUnit.HOUR; units[1] = TimeUnit.DAY; units[2] = TimeUnit.WEEK; units[3] = TimeUnit.MONTH; units[4] = TimeUnit.YEAR; return units; } /** * This will initialize and construct the end RelativeDateItem * @return Ending RelativeDateItem */ private RelativeDateItem getEndDateItem() { if (theEndDateItem == null) { changeDateFormat(); theEndDateItem = new RelativeDateItem("end_date"); theEndDateItem.setTitle("End:"); // By setting this to essentially a blank LinkedHashMap, it will clear out the preset // options we do not want. // theEndDateItem.setPresetOptions(new LinkedHashMap()); theEndDateItem.setOverflow(Overflow.VISIBLE); theEndDateItem.setShowFutureOptions(false); theEndDateItem.setShowPastOptions(true); theEndDateItem.setTimeUnitOptions(getTimeOptions()); theEndDateItem.setDefaultQuantity(1); theEndDateItem.setPresetOptions(theDatePresets); theEndDateItem.addChangedHandler(new ChangedHandler() { @Override public void onChanged(ChangedEvent event) { // Test if this is a relative date selection so we can save it that way RelativeDate relDate = theEndDateItem.getRelativeDate(); Date startDate = (Date)getStartDateItem().getValue(); Date endDate = (Date)theEndDateItem.getValue(); // Per the JavaDoc, compareTo returns less than 0 if the date is before the compared // date. So in this case, if the endDate is before the startDate, then we show // the error. if (endDate.compareTo(startDate) < 0) { theEndDateItem.getForm() .setFieldErrors("end_date", "invalid date", true); } else { // Clear any errors on the field and save the changes to the model theEndDateItem.getForm() .clearFieldErrors("end_date", true); } } }); } return theEndDateItem; } }
Comment
-
Further testing reveals that even setting it to new RelativeDateItem("$now") does not refresh the time. I would be happy to call a method on the component to have it refresh the time, if one existed.
If I were to override the class and create my derivative class, what should I override to refresh the time?
Comment
-
Originally posted by Isomorphic View PostNo, but it's highly, highly recommended because it fixed this longstanding core GWT bug.
I am also seeing an new warning regarding RelativeDateItem sizing. It advised me to turn on sizing log to see stack trace. This is what I received:
Code:07:44:29.972:INFO:Log:initialized 07:44:30.259:WARN:Log:New Class ID: 'DataView' collides with ID of existing object with value 'function DataView() { [native code] }'. Existing object will be replaced. This conflict would be avoided by disabling ISC Simple Names mode. See documentation for further information. 07:44:30.312:INFO:Log:isc.Page is loaded 07:44:32.590:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 314x22, border: 0x0, margin: 0x0, reason: draw 07:44:32.591:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 314, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 20, styleLeft: "0px", styleTop: "-9999px", styleWidth: "16px", styleHeight: "20px", styleClip: ""} 07:44:32.591:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 16, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:32.593:WARN:StaticTextItem:isc_StaticTextItem_0[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element 07:44:32.610:INFO:sizing:isc_RelativeDateItem_3_editor:Specified size: 16x20, drawn scroll size: 314x22, border: 0x0, margin: 0x0, reason: draw 07:44:32.612:DEBUG:sizing:isc_RelativeDateItem_3_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 314, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 20, styleLeft: "0px", styleTop: "-9999px", styleWidth: "16px", styleHeight: "20px", styleClip: ""} 07:44:32.613:DEBUG:sizing:isc_RelativeDateItem_3_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 16, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:32.615:WARN:StaticTextItem:isc_StaticTextItem_1[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element 07:44:32.633:INFO:sizing:isc_DynamicForm_0:Specified size: 100x100, drawn scroll size: 418x128, border: 0x0, margin: 0x0, reason: widthCheckWhileDeferred 07:44:32.633:DEBUG:sizing:isc_DynamicForm_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 418, scrollHeight: 128, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 100, styleLeft: "0px", styleTop: "-9999px", styleWidth: "100px", styleHeight: "100px", styleClip: ""} 07:44:32.634:DEBUG:sizing:isc_DynamicForm_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 100, scrollHeight: 128, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 128, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:32.640:INFO:sizing:isc_HLayout_0:Specified size: 100x100, drawn scroll size: 418x128, border: 0x0, margin: 0x0, reason: draw 07:44:32.641:DEBUG:sizing:isc_HLayout_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 418, scrollHeight: 128, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 100, styleLeft: "0px", styleTop: "0px", styleWidth: "100px", styleHeight: "100px", styleClip: ""} 07:44:32.641:DEBUG:sizing:isc_HLayout_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 100, scrollHeight: 14, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 14, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:32.650:TMR1:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 314x22, border: 0x0, margin: 0x0, old size: 314x22, reason: isc_StaticTextItem_0 overflow changed: textBox value changed 07:44:32.650:TMR1:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 314, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 314, offsetHeight: 22, styleLeft: "102px", styleTop: "78px", styleWidth: "314px", styleHeight: "22px", styleClip: ""} 07:44:32.651:TMR1:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 314, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 314, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:32.652:TMR1:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 314x22, border: 0x0, margin: 0x0, old size: 314x22, reason: isc_BlurbItem_0 overflow changed: textBox value changed 07:44:32.652:TMR1:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 314, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 314, offsetHeight: 22, styleLeft: "102px", styleTop: "78px", styleWidth: "314px", styleHeight: "22px", styleClip: ""} 07:44:32.652:TMR1:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 314, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 314, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:32.655:TMR1:INFO:sizing:isc_RelativeDateItem_3_editor:Specified size: 16x20, drawn scroll size: 314x22, border: 0x0, margin: 0x0, old size: 314x22, reason: isc_StaticTextItem_1 overflow changed: textBox value changed 07:44:32.656:TMR1:DEBUG:sizing:isc_RelativeDateItem_3_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 314, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 314, offsetHeight: 22, styleLeft: "102px", styleTop: "104px", styleWidth: "314px", styleHeight: "22px", styleClip: ""} 07:44:32.656:TMR1:DEBUG:sizing:isc_RelativeDateItem_3_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 314, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 314, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:32.657:TMR1:INFO:sizing:isc_RelativeDateItem_3_editor:Specified size: 16x20, drawn scroll size: 314x22, border: 0x0, margin: 0x0, old size: 314x22, reason: isc_BlurbItem_1 overflow changed: textBox value changed 07:44:32.657:TMR1:DEBUG:sizing:isc_RelativeDateItem_3_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 314, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 314, offsetHeight: 22, styleLeft: "102px", styleTop: "104px", styleWidth: "314px", styleHeight: "22px", styleClip: ""} 07:44:32.658:TMR1:DEBUG:sizing:isc_RelativeDateItem_3_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 314, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 314, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.772:TMR8:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 320x22, border: 0x0, margin: 0x0, old size: 314x22, reason: redraw 07:44:42.773:TMR8:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 20, styleLeft: "102px", styleTop: "78px", styleWidth: "16px", styleHeight: "20px", styleClip: ""} 07:44:42.774:TMR8:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 16, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.776:TMR8:WARN:StaticTextItem:isc_StaticTextItem_0[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element 07:44:42.781:TMR8:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 320x22, border: 0x0, margin: 0x0, old size: 320x22, reason: isc_StaticTextItem_0 overflow changed: textBox value changed 07:44:42.782:TMR8:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "102px", styleTop: "78px", styleWidth: "320px", styleHeight: "22px", styleClip: ""} 07:44:42.783:TMR8:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.784:TMR8:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 320x22, border: 0x0, margin: 0x0, old size: 320x22, reason: isc_BlurbItem_0 overflow changed: textBox value changed 07:44:42.785:TMR8:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "102px", styleTop: "78px", styleWidth: "320px", styleHeight: "22px", styleClip: ""} 07:44:42.785:TMR8:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.799:TMR8:INFO:sizing:isc_RelativeDateItem_3_editor:Specified size: 16x20, drawn scroll size: 320x22, border: 0x0, margin: 0x0, old size: 314x22, reason: redraw 07:44:42.799:TMR8:DEBUG:sizing:isc_RelativeDateItem_3_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 20, styleLeft: "102px", styleTop: "104px", styleWidth: "16px", styleHeight: "20px", styleClip: ""} 07:44:42.800:TMR8:DEBUG:sizing:isc_RelativeDateItem_3_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 16, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.802:TMR8:WARN:StaticTextItem:isc_StaticTextItem_1[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element 07:44:42.805:TMR8:INFO:sizing:isc_RelativeDateItem_3_editor:Specified size: 16x20, drawn scroll size: 320x22, border: 0x0, margin: 0x0, old size: 320x22, reason: isc_StaticTextItem_1 overflow changed: textBox value changed 07:44:42.806:TMR8:DEBUG:sizing:isc_RelativeDateItem_3_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "102px", styleTop: "104px", styleWidth: "320px", styleHeight: "22px", styleClip: ""} 07:44:42.806:TMR8:DEBUG:sizing:isc_RelativeDateItem_3_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.807:TMR8:INFO:sizing:isc_RelativeDateItem_3_editor:Specified size: 16x20, drawn scroll size: 320x22, border: 0x0, margin: 0x0, old size: 320x22, reason: isc_BlurbItem_1 overflow changed: textBox value changed 07:44:42.808:TMR8:DEBUG:sizing:isc_RelativeDateItem_3_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "102px", styleTop: "104px", styleWidth: "320px", styleHeight: "22px", styleClip: ""} 07:44:42.808:TMR8:DEBUG:sizing:isc_RelativeDateItem_3_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.828:TMR4:INFO:sizing:isc_DynamicForm_0:Specified size: 100x100, drawn scroll size: 422x128, border: 0x0, margin: 0x0, old size: 418x128, reason: childResized 07:44:42.828:TMR4:DEBUG:sizing:isc_DynamicForm_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 422, scrollHeight: 128, clientWidth: undef, clientHeight: undef, offsetWidth: 418, offsetHeight: 128, styleLeft: "0px", styleTop: "0px", styleWidth: "418px", styleHeight: "128px", styleClip: ""} 07:44:42.829:TMR4:DEBUG:sizing:isc_DynamicForm_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 418, scrollHeight: 128, clientWidth: undef, clientHeight: undef, offsetWidth: 418, offsetHeight: 128, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.853:IBLR5:INFO:sizing:isc_DynamicForm_0:Specified size: 100x100, drawn scroll size: 424x128, border: 0x0, margin: 0x0, old size: 422x128, reason: redraw 07:44:42.853:IBLR5:DEBUG:sizing:isc_DynamicForm_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 424, scrollHeight: 128, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 100, styleLeft: "0px", styleTop: "0px", styleWidth: "100px", styleHeight: "100px", styleClip: ""} 07:44:42.853:IBLR5:DEBUG:sizing:isc_DynamicForm_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 100, scrollHeight: 128, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 128, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.858:IBLR5:INFO:sizing:isc_HLayout_0:Specified size: 100x100, drawn scroll size: 424x128, border: 0x0, margin: 0x0, old size: 418x128, reason: undefined 07:44:42.859:IBLR5:DEBUG:sizing:isc_HLayout_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 424, scrollHeight: 128, clientWidth: undef, clientHeight: undef, offsetWidth: 418, offsetHeight: 128, styleLeft: "0px", styleTop: "0px", styleWidth: "418px", styleHeight: "128px", styleClip: ""} 07:44:42.859:IBLR5:DEBUG:sizing:isc_HLayout_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 418, scrollHeight: 14, clientWidth: undef, clientHeight: undef, offsetWidth: 418, offsetHeight: 14, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.871:TMR6:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 320x22, border: 0x0, margin: 0x0, old size: 320x22, reason: redraw 07:44:42.872:TMR6:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 20, styleLeft: "102px", styleTop: "78px", styleWidth: "16px", styleHeight: "20px", styleClip: ""} 07:44:42.872:TMR6:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 16, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.873:TMR6:WARN:StaticTextItem:isc_StaticTextItem_0[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element 07:44:42.877:TMR6:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 320x22, border: 0x0, margin: 0x0, old size: 320x22, reason: isc_StaticTextItem_0 overflow changed: textBox value changed 07:44:42.878:TMR6:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "102px", styleTop: "78px", styleWidth: "320px", styleHeight: "22px", styleClip: ""} 07:44:42.878:TMR6:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.879:TMR6:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 320x22, border: 0x0, margin: 0x0, old size: 320x22, reason: isc_BlurbItem_0 overflow changed: textBox value changed 07:44:42.880:TMR6:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "102px", styleTop: "78px", styleWidth: "320px", styleHeight: "22px", styleClip: ""} 07:44:42.881:TMR6:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.893:TMR6:INFO:sizing:isc_RelativeDateItem_3_editor:Specified size: 16x20, drawn scroll size: 320x22, border: 0x0, margin: 0x0, old size: 320x22, reason: redraw 07:44:42.894:TMR6:DEBUG:sizing:isc_RelativeDateItem_3_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 20, styleLeft: "102px", styleTop: "104px", styleWidth: "16px", styleHeight: "20px", styleClip: ""} 07:44:42.895:TMR6:DEBUG:sizing:isc_RelativeDateItem_3_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 16, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.897:TMR6:WARN:StaticTextItem:isc_StaticTextItem_1[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element 07:44:42.900:TMR6:INFO:sizing:isc_RelativeDateItem_3_editor:Specified size: 16x20, drawn scroll size: 320x22, border: 0x0, margin: 0x0, old size: 320x22, reason: isc_StaticTextItem_1 overflow changed: textBox value changed 07:44:42.900:TMR6:DEBUG:sizing:isc_RelativeDateItem_3_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "102px", styleTop: "104px", styleWidth: "320px", styleHeight: "22px", styleClip: ""} 07:44:42.901:TMR6:DEBUG:sizing:isc_RelativeDateItem_3_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:42.902:TMR6:INFO:sizing:isc_RelativeDateItem_3_editor:Specified size: 16x20, drawn scroll size: 320x22, border: 0x0, margin: 0x0, old size: 320x22, reason: isc_BlurbItem_1 overflow changed: textBox value changed 07:44:42.902:TMR6:DEBUG:sizing:isc_RelativeDateItem_3_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "102px", styleTop: "104px", styleWidth: "320px", styleHeight: "22px", styleClip: ""} 07:44:42.903:TMR6:DEBUG:sizing:isc_RelativeDateItem_3_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:44.164:IFCS1:INFO:sizing:isc_Canvas_0:Specified size: 1x1, drawn scroll size: 130x192, border: 0x0, margin: 0x0, reason: draw 07:44:44.165:IFCS1:DEBUG:sizing:isc_Canvas_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 130, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 1, offsetHeight: 1, styleLeft: "0px", styleTop: "-1000px", styleWidth: "1px", styleHeight: "1px", styleClip: ""} 07:44:44.165:IFCS1:DEBUG:sizing:isc_Canvas_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 1, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 1, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:44.187:IFCS1:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: resize 07:44:44.188:IFCS1:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "-9999px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:44:44.188:IFCS1:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:44.188:IFCS1:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: ScrollCellIntoView requesting size 07:44:44.189:IFCS1:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "-9999px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:44:44.189:IFCS1:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:44.191:IFCS1:INFO:sizing:isc_PickListMenu_0:Specified size: 146x1, drawn scroll size: 146x194, border: 0x0, margin: 0x0, reason: draw 07:44:44.192:IFCS1:DEBUG:sizing:isc_PickListMenu_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 146, scrollHeight: 194, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 1, styleLeft: "0px", styleTop: "-9999px", styleWidth: "146px", styleHeight: "1px", styleClip: ""} 07:44:44.192:IFCS1:DEBUG:sizing:isc_PickListMenu_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 146, scrollHeight: 20, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 20, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:46.190:IFCS9:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 321x22, border: 0x0, margin: 0x0, old size: 320x22, reason: isc_BlurbItem_0 overflow changed: textBox value changed 07:44:46.191:IFCS9:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 321, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "102px", styleTop: "78px", styleWidth: "320px", styleHeight: "22px", styleClip: ""} 07:44:46.191:IFCS9:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:46.208:IBLR3:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 271x22, border: 0x0, margin: 0x0, old size: 321x22, reason: redraw 07:44:46.209:IBLR3:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 271, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 20, styleLeft: "102px", styleTop: "78px", styleWidth: "16px", styleHeight: "20px", styleClip: ""} 07:44:46.209:IBLR3:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 16, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:46.213:IFCS4:WARN:StaticTextItem:isc_StaticTextItem_0[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element 07:44:46.218:IFCS4:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 271x22, border: 0x0, margin: 0x0, old size: 271x22, reason: isc_StaticTextItem_0 overflow changed: textBox value changed 07:44:46.218:IFCS4:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 271, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 271, offsetHeight: 22, styleLeft: "102px", styleTop: "78px", styleWidth: "271px", styleHeight: "22px", styleClip: ""} 07:44:46.219:IFCS4:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 271, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 271, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:46.220:IFCS4:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 271x22, border: 0x0, margin: 0x0, old size: 271x22, reason: isc_BlurbItem_0 overflow changed: textBox value changed 07:44:46.221:IFCS4:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 271, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 271, offsetHeight: 22, styleLeft: "102px", styleTop: "78px", styleWidth: "271px", styleHeight: "22px", styleClip: ""} 07:44:46.221:IFCS4:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 271, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 271, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:46.240:IFCS4:INFO:sizing:isc_DynamicForm_0:Specified size: 100x100, drawn scroll size: 424x128, border: 0x0, margin: 0x0, old size: 424x128, reason: redraw 07:44:46.241:IFCS4:DEBUG:sizing:isc_DynamicForm_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 424, scrollHeight: 128, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 100, styleLeft: "0px", styleTop: "0px", styleWidth: "100px", styleHeight: "100px", styleClip: ""} 07:44:46.241:IFCS4:DEBUG:sizing:isc_DynamicForm_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 100, scrollHeight: 128, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 128, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:53.237:IFCS5:INFO:sizing:isc_PickListMenu_0:Specified size: 146x1, drawn scroll size: 146x194, border: 0x0, margin: 0x0, old size: 146x194, reason: setStyleName 07:44:53.237:IFCS5:DEBUG:sizing:isc_PickListMenu_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 146, scrollHeight: 194, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "102px", styleTop: "100px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:44:53.238:IFCS5:DEBUG:sizing:isc_PickListMenu_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 146, scrollHeight: 20, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 20, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:53.239:IFCS5:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: setStyleName 07:44:53.240:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:44:53.240:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:53.242:IFCS5:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: setStyleName 07:44:53.242:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:44:53.242:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:53.258:IFCS5:INFO:sizing:isc_Canvas_0:Specified size: 1x1, drawn scroll size: 130x192, border: 0x0, margin: 0x0, reason: redraw 07:44:53.258:IFCS5:DEBUG:sizing:isc_Canvas_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 130, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 1, offsetHeight: 1, styleLeft: "0px", styleTop: "-1000px", styleWidth: "1px", styleHeight: "1px", styleClip: ""} 07:44:53.258:IFCS5:DEBUG:sizing:isc_Canvas_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 1, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 1, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:53.280:IFCS5:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: redraw 07:44:53.281:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:44:53.282:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:53.284:IFCS5:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: undefined 07:44:53.284:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:44:53.284:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:53.285:IFCS5:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: undefined 07:44:53.285:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:44:53.286:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:53.286:IFCS5:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: undefined 07:44:53.286:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:44:53.287:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:53.304:IFCS5:INFO:sizing:isc_Canvas_0:Specified size: 1x1, drawn scroll size: 130x192, border: 0x0, margin: 0x0, reason: redraw 07:44:53.305:IFCS5:DEBUG:sizing:isc_Canvas_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 130, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 1, offsetHeight: 1, styleLeft: "0px", styleTop: "-1000px", styleWidth: "1px", styleHeight: "1px", styleClip: ""} 07:44:53.305:IFCS5:DEBUG:sizing:isc_Canvas_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 1, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 1, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:53.315:IFCS5:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: redraw 07:44:53.316:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:44:53.316:IFCS5:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:53.317:IFCS5:INFO:sizing:isc_PickListMenu_0:Specified size: 146x1, drawn scroll size: 146x194, border: 0x0, margin: 0x0, old size: 146x194, reason: redraw 07:44:53.317:IFCS5:DEBUG:sizing:isc_PickListMenu_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 146, scrollHeight: 194, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 1, styleLeft: "102px", styleTop: "100px", styleWidth: "146px", styleHeight: "1px", styleClip: ""} 07:44:53.317:IFCS5:DEBUG:sizing:isc_PickListMenu_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 146, scrollHeight: 20, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 20, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:54.526:IFCS8:INFO:sizing:isc_RelativeDateItem_3_editor:Specified size: 16x20, drawn scroll size: 321x22, border: 0x0, margin: 0x0, old size: 320x22, reason: isc_BlurbItem_1 overflow changed: textBox value changed 07:44:54.527:IFCS8:DEBUG:sizing:isc_RelativeDateItem_3_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 321, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "102px", styleTop: "104px", styleWidth: "320px", styleHeight: "22px", styleClip: ""} 07:44:54.527:IFCS8:DEBUG:sizing:isc_RelativeDateItem_3_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 320, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 320, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:54.544:IBLR2:INFO:sizing:isc_RelativeDateItem_3_editor:Specified size: 16x20, drawn scroll size: 271x22, border: 0x0, margin: 0x0, old size: 321x22, reason: redraw 07:44:54.545:IBLR2:DEBUG:sizing:isc_RelativeDateItem_3_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 271, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 20, styleLeft: "102px", styleTop: "104px", styleWidth: "16px", styleHeight: "20px", styleClip: ""} 07:44:54.545:IBLR2:DEBUG:sizing:isc_RelativeDateItem_3_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 16, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 16, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:54.549:IFCS3:WARN:StaticTextItem:isc_StaticTextItem_1[iconPlaceholder]:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element 07:44:54.554:IFCS3:INFO:sizing:isc_RelativeDateItem_3_editor:Specified size: 16x20, drawn scroll size: 271x22, border: 0x0, margin: 0x0, old size: 271x22, reason: isc_StaticTextItem_1 overflow changed: textBox value changed 07:44:54.554:IFCS3:DEBUG:sizing:isc_RelativeDateItem_3_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 271, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 271, offsetHeight: 22, styleLeft: "102px", styleTop: "104px", styleWidth: "271px", styleHeight: "22px", styleClip: ""} 07:44:54.555:IFCS3:DEBUG:sizing:isc_RelativeDateItem_3_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 271, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 271, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:54.556:IFCS3:INFO:sizing:isc_RelativeDateItem_3_editor:Specified size: 16x20, drawn scroll size: 271x22, border: 0x0, margin: 0x0, old size: 271x22, reason: isc_BlurbItem_1 overflow changed: textBox value changed 07:44:54.556:IFCS3:DEBUG:sizing:isc_RelativeDateItem_3_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 271, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 271, offsetHeight: 22, styleLeft: "102px", styleTop: "104px", styleWidth: "271px", styleHeight: "22px", styleClip: ""} 07:44:54.556:IFCS3:DEBUG:sizing:isc_RelativeDateItem_3_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 271, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 271, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:54.577:IFCS3:INFO:sizing:isc_DynamicForm_0:Specified size: 100x100, drawn scroll size: 375x128, border: 0x0, margin: 0x0, old size: 424x128, reason: redraw 07:44:54.577:IFCS3:DEBUG:sizing:isc_DynamicForm_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 375, scrollHeight: 128, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 100, styleLeft: "0px", styleTop: "0px", styleWidth: "100px", styleHeight: "100px", styleClip: ""} 07:44:54.578:IFCS3:DEBUG:sizing:isc_DynamicForm_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 100, scrollHeight: 128, clientWidth: undef, clientHeight: undef, offsetWidth: 100, offsetHeight: 128, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:44:54.585:IFCS3[E]:INFO:sizing:isc_HLayout_0:Specified size: 100x100, drawn scroll size: 375x128, border: 0x0, margin: 0x0, old size: 424x128, reason: undefined 07:44:54.585:IFCS3[E]:DEBUG:sizing:isc_HLayout_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 424, scrollHeight: 128, clientWidth: undef, clientHeight: undef, offsetWidth: 424, offsetHeight: 128, styleLeft: "0px", styleTop: "0px", styleWidth: "424px", styleHeight: "128px", styleClip: ""} 07:44:54.586:IFCS3[E]:DEBUG:sizing:isc_HLayout_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 424, scrollHeight: 14, clientWidth: undef, clientHeight: undef, offsetWidth: 424, offsetHeight: 14, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:45:05.993:IFCS0:INFO:sizing:isc_PickListMenu_0:Specified size: 146x1, drawn scroll size: 146x194, border: 0x0, margin: 0x0, old size: 146x194, reason: setStyleName 07:45:05.994:IFCS0:DEBUG:sizing:isc_PickListMenu_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 146, scrollHeight: 194, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "102px", styleTop: "126px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:45:05.994:IFCS0:DEBUG:sizing:isc_PickListMenu_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 146, scrollHeight: 20, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 20, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:45:05.996:IFCS0:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: setStyleName 07:45:05.996:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:45:05.997:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:45:05.998:IFCS0:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: setStyleName 07:45:05.999:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:45:05.999:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:45:06.013:IFCS0:INFO:sizing:isc_Canvas_0:Specified size: 1x1, drawn scroll size: 130x192, border: 0x0, margin: 0x0, reason: redraw 07:45:06.014:IFCS0:DEBUG:sizing:isc_Canvas_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 130, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 1, offsetHeight: 1, styleLeft: "0px", styleTop: "-1000px", styleWidth: "1px", styleHeight: "1px", styleClip: ""} 07:45:06.014:IFCS0:DEBUG:sizing:isc_Canvas_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 1, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 1, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:45:06.028:IFCS0:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: redraw 07:45:06.029:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:45:06.029:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:45:06.032:IFCS0:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: undefined 07:45:06.032:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:45:06.033:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:45:06.033:IFCS0:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: undefined 07:45:06.033:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:45:06.034:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:45:06.034:IFCS0:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: undefined 07:45:06.034:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:45:06.035:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:45:06.048:IFCS0:INFO:sizing:isc_Canvas_0:Specified size: 1x1, drawn scroll size: 130x192, border: 0x0, margin: 0x0, reason: redraw 07:45:06.049:IFCS0:DEBUG:sizing:isc_Canvas_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 130, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 1, offsetHeight: 1, styleLeft: "0px", styleTop: "-1000px", styleWidth: "1px", styleHeight: "1px", styleClip: ""} 07:45:06.049:IFCS0:DEBUG:sizing:isc_Canvas_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 1, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 1, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:45:06.060:IFCS0:INFO:sizing:isc_PickListMenu_0_body:Specified size: 146x194, drawn scroll size: 144x192, border: 2x2, margin: 0x0, reason: redraw 07:45:06.060:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 194, styleLeft: "0px", styleTop: "0px", styleWidth: "146px", styleHeight: "194px", styleClip: ""} 07:45:06.061:IFCS0:DEBUG:sizing:isc_PickListMenu_0_body:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 144, scrollHeight: 192, clientWidth: undef, clientHeight: undef, offsetWidth: 144, offsetHeight: 192, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:45:06.061:IFCS0:INFO:sizing:isc_PickListMenu_0:Specified size: 146x1, drawn scroll size: 146x194, border: 0x0, margin: 0x0, old size: 146x194, reason: redraw 07:45:06.062:IFCS0:DEBUG:sizing:isc_PickListMenu_0:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 146, scrollHeight: 194, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 1, styleLeft: "102px", styleTop: "126px", styleWidth: "146px", styleHeight: "1px", styleClip: ""} 07:45:06.062:IFCS0:DEBUG:sizing:isc_PickListMenu_0:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 146, scrollHeight: 20, clientWidth: undef, clientHeight: undef, offsetWidth: 146, offsetHeight: 20, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""} 07:45:08.102:IFCS5:INFO:sizing:isc_RelativeDateItem_2_editor:Specified size: 16x20, drawn scroll size: 271x22, border: 0x0, margin: 0x0, old size: 271x22, reason: isc_BlurbItem_0 overflow changed: textBox value changed 07:45:08.102:IFCS5:DEBUG:sizing:isc_RelativeDateItem_2_editor:clipHandle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 271, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 271, offsetHeight: 22, styleLeft: "102px", styleTop: "78px", styleWidth: "271px", styleHeight: "22px", styleClip: ""} 07:45:08.103:IFCS5:DEBUG:sizing:isc_RelativeDateItem_2_editor:handle sizes: {scrollLeft: 0, scrollTop: 0, scrollWidth: 271, scrollHeight: 22, clientWidth: undef, clientHeight: undef, offsetWidth: 271, offsetHeight: 22, styleLeft: "", styleTop: "", styleWidth: "", styleHeight: "", styleClip: ""}
Last edited by bwilkins30; 11 Mar 2013, 06:36.
Comment
-
Originally posted by Isomorphic View PostAlso addressed in tomorrow's builds.
Comment
-
Originally posted by Isomorphic View PostOk, this is working fine for us, so we're going to need to see some code we can run - please also provide details of locale, browser, doctype
Code:package com.corp.smartgwt.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.i18n.client.DateTimeFormat; import com.smartgwt.client.widgets.Canvas; import com.smartgwt.client.widgets.form.DynamicForm; import com.smartgwt.client.widgets.layout.HLayout; import com.smartgwt.client.util.DateUtil; import com.smartgwt.client.widgets.form.fields.RadioGroupItem; import com.smartgwt.client.widgets.form.fields.RelativeDateItem; import com.smartgwt.client.util.DateDisplayFormatter; import com.smartgwt.client.util.DateParser; import com.smartgwt.client.util.SC; import com.smartgwt.client.data.RelativeDate; import com.smartgwt.client.types.Overflow; import com.smartgwt.client.types.TimeUnit; import com.smartgwt.client.widgets.form.fields.events.ChangedEvent; import com.smartgwt.client.widgets.form.fields.events.ChangedHandler; import com.smartgwt.client.widgets.form.validator.DateRangeValidator; import java.util.Date; import java.util.LinkedHashMap; public class SmartGwt implements EntryPoint { private RelativeDateItem theStartDateItem; private RelativeDateItem theEndDateItem; private static String DATE_FORMAT = "dd.MMM.yyyy HH:mm"; private static String RADIOGROUP_NAME = "radiogroup1"; private RadioGroupItem theFilterRadioGroup; private static final String RB1_LABEL_TEXT = "Disable"; private static final String RB2_LABEL_TEXT = "Enable 1"; private static final String RB3_LABEL_TEXT = "Enable 2"; private final static LinkedHashMap<String, String> theDatePresets = new LinkedHashMap<String, String>(); static { theDatePresets.put("$now", "Now"); theDatePresets.put("$yesterday", "Yesterday"); theDatePresets.put("$tomorrow", "Tomorrow"); theDatePresets.put("-1w", "Current day of last week"); theDatePresets.put("+1w", "Current day of next week"); theDatePresets.put("+1m", "Current day of next month"); theDatePresets.put("-1m", "Current day of last month"); } @Override public void onModuleLoad() { HLayout layout = new HLayout(); DynamicForm form = new DynamicForm(); form.setFields(getFilterRadioGroup(), getStartDateItem(), getEndDateItem()); layout.addMember(form); layout.draw(); } /** * This method returns a RadioGroupItem consisting of None, * Image Date, and Load Date. It uses lazy initialization. * @return RadioGroupItem */ private RadioGroupItem getFilterRadioGroup() { if (theFilterRadioGroup == null) { theFilterRadioGroup = new RadioGroupItem(RADIOGROUP_NAME); theFilterRadioGroup.setValueMap(RB1_LABEL_TEXT, RB2_LABEL_TEXT, RB3_LABEL_TEXT); theFilterRadioGroup.setShowTitle(false); theFilterRadioGroup.setDefaultValue(RB1_LABEL_TEXT); theFilterRadioGroup.setGlobalTabIndex(21); getStartDateItem().setDisabled(true); getEndDateItem().setDisabled(true); theFilterRadioGroup.addChangedHandler(new ChangedHandler() { /* * This method should fire anytime a user changes the radio button selection. */ @Override public void onChanged(ChangedEvent event) { if (theFilterRadioGroup.getValueAsString().equals(RB1_LABEL_TEXT)) { getStartDateItem().setDisabled(true); getEndDateItem().setDisabled(true); } else if (theFilterRadioGroup.getValueAsString().equals(RB2_LABEL_TEXT)) { getStartDateItem().enable(); getEndDateItem().enable(); getStartDateItem().setValue("$now"); } else { getStartDateItem().enable(); getEndDateItem().enable(); } } }); } return theFilterRadioGroup; } private void changeDateFormat() { DateUtil.setShortDatetimeDisplayFormatter(new DateDisplayFormatter() { public String format(Date date) { if(date == null) { return null; } else { final DateTimeFormat dateFormatter = DateTimeFormat.getFormat(DATE_FORMAT); return dateFormatter.format(date); } } }); // It is a requirement that we implement a custom date parser or the onChanged event // will not fire. DateUtil.setDateParser(new DateParser() { public Date parse(String dateString) { final DateTimeFormat format = DateTimeFormat.getFormat(DATE_FORMAT); return format.parse(dateString); } }); } private RelativeDateItem getStartDateItem() { if (theStartDateItem == null) { changeDateFormat(); theStartDateItem = new RelativeDateItem("start_date"); theStartDateItem.setTitle("Start"); theStartDateItem.setShowFutureOptions(false); theStartDateItem.setShowPastOptions(true); // By setting this to essentially a blank LinkedHashMap, it will clear out the preset // options we do not want. // theStartDateItem.setPresetOptions(new LinkedHashMap()); theStartDateItem.setTimeUnitOptions(getTimeOptions()); theStartDateItem.setDefaultQuantity(1); theStartDateItem.setPresetOptions(theDatePresets); theStartDateItem.setOverflow(Overflow.VISIBLE); theStartDateItem.addChangedHandler(new ChangedHandler() { @Override public void onChanged(ChangedEvent event) { // Test if this is a relative date selection so we can save it that way RelativeDate relDate = theStartDateItem.getRelativeDate(); Date startDate = (Date)theStartDateItem.getValue(); Date endDate = (Date)getEndDateItem().getValue(); // Per the JavaDoc, compareTo returns less than 0 if the date is before the compared // date. So in this case, if the endDate is before the startDate, then we show // the error. No changes will be made to the model until the error is cleared. if (endDate.compareTo(startDate) < 0) { getEndDateItem().getForm() .setFieldErrors("end_date", "invalid date", true); } else { getEndDateItem().getForm() .clearFieldErrors("end_date", true); } } }); } return theStartDateItem; } /** * This will return an array of SmartGWT TimeUnit options that we want to add to our drop-down * for the Start and End date RelativeDateItem's * * @return array of TimeUnit's */ private TimeUnit[] getTimeOptions() { TimeUnit[] units = new TimeUnit[5]; units[0] = TimeUnit.HOUR; units[1] = TimeUnit.DAY; units[2] = TimeUnit.WEEK; units[3] = TimeUnit.MONTH; units[4] = TimeUnit.YEAR; return units; } /** * This will initialize and construct the end RelativeDateItem * @return Ending RelativeDateItem */ private RelativeDateItem getEndDateItem() { if (theEndDateItem == null) { changeDateFormat(); theEndDateItem = new RelativeDateItem("end_date"); theEndDateItem.setTitle("End:"); // By setting this to essentially a blank LinkedHashMap, it will clear out the preset // options we do not want. // theEndDateItem.setPresetOptions(new LinkedHashMap()); theEndDateItem.setOverflow(Overflow.VISIBLE); theEndDateItem.setShowFutureOptions(false); theEndDateItem.setShowPastOptions(true); theEndDateItem.setTimeUnitOptions(getTimeOptions()); theEndDateItem.setDefaultQuantity(1); theEndDateItem.setPresetOptions(theDatePresets); theEndDateItem.addChangedHandler(new ChangedHandler() { @Override public void onChanged(ChangedEvent event) { // Test if this is a relative date selection so we can save it that way RelativeDate relDate = theEndDateItem.getRelativeDate(); Date startDate = (Date)getStartDateItem().getValue(); Date endDate = (Date)theEndDateItem.getValue(); // Per the JavaDoc, compareTo returns less than 0 if the date is before the compared // date. So in this case, if the endDate is before the startDate, then we show // the error. if (endDate.compareTo(startDate) < 0) { theEndDateItem.getForm() .setFieldErrors("end_date", "invalid date", true); } else { // Clear any errors on the field and save the changes to the model theEndDateItem.getForm() .clearFieldErrors("end_date", true); } } }); } return theEndDateItem; } }
Comment
Comment