Using SmartGWTPOWER
Object | Action | Event Sequence | Question/Comment |
Date1 | Click on date‐picker icon | DATE1: onIconClick fired Wed Nov 17 10:15:54 EST 2010 DATE1: onClick fired Wed Nov 17 10:15:54 EST 2010 | There is no onFocus event on Date1. |
Date1 | Select new date (by clicking) | DATE1: onChange fired Wed Nov 17 10:16:08 EST 2010 DATE1: onChanged fired Wed Nov 17 10:16:08 EST 2010 DATE1: onFocus fired Wed Nov 17 10:16:08 EST 2010 | onFocus occurs last and no onClick event on Date1. |
Date2 | Click on date‐picker icon | DATE1: onChange fired Wed Nov 17 10:16:23 EST 2010 DATE1: onChanged fired Wed Nov 17 10:16:23 EST 2010 DATE1: onBlur fired Wed Nov 17 10:16:23 EST 2010 DATE2: onIconClick fired Wed Nov 17 10:16:23 EST 2010 DATE2: onClick fired Wed Nov 17 10:16:23 EST 2010 | No more value change on Date1, but onChange and onChanged event triggered. There is no onFocus event on Date2.
|
Date2 | Select new date (by clicking) | DATE2: onChange fired Wed Nov 17 10:16:34 EST 2010 DATE2: onChanged fired Wed Nov 17 10:16:34 EST 2010 DATE2: onChange fired Wed Nov 17 10:16:34 EST 2010 DATE2: onChanged fired Wed Nov 17 10:16:34 EST 2010 DATE2: onBlur fired Wed Nov 17 10:16:34 EST 2010 DATE1: onFocus fired Wed Nov 17 10:16:34 EST 2010 DATE1: onChange fired Wed Nov 17 10:16:34 EST 2010 DATE1: onChanged fired Wed Nov 17 10:16:34 EST 2010 DATE1: onBlur fired Wed Nov 17 10:16:34 EST 2010 DATE2: onFocus fired Wed Nov 17 10:16:34 EST 2010 | This time when date value changed (on Date2), onChange and onChanged triggered 2 times. And also why Date1 fire onFocus event and onChange + onChanged event, followed by onBlur event? |
Date1 | Click on date‐picker icon | DATE1: onIconClick fired Wed Nov 17 10:16:48 EST 2010 DATE1: onClick fired Wed Nov 17 10:16:48 EST 2010 | There is no onFocus event on Date1. |
Browser | Click somewhere on browser screen | DATE2: onFocus fired Wed Nov 17 10:17:03 EST 2010 | This action should take focus away, but instead Date2 receive focus. |
Date1 | Click on date‐picker icon | DATE2: onChange fired Wed Nov 17 10:17:20 EST 2010 DATE2: onChanged fired Wed Nov 17 10:17:20 EST 2010 DATE2: onBlur fired Wed Nov 17 10:17:20 EST 2010 DATE1: onIconClick fired Wed Nov 17 10:17:20 EST 2010 DATE1: onClick fired Wed Nov 17 10:17:20 EST 2010 | There is no onFocus event on Date1. |
Date2 | Click on date‐picker icon | DATE2: onIconClick fired Wed Nov 17 10:17:34 EST 2010 DATE2: onClick fired Wed Nov 17 10:17:34 EST 2010 | No onBlur event on Date1, and no onFocus event on Date2. |
Date1 | Click on DateItem (TextBox) | DATE1: onFocus fired Wed Nov 17 10:17:45 EST 2010 DATE1: onClick fired Wed Nov 17 10:17:45 EST 2010 | DateItem seems to receive focus only if user click on DateItem textbox, but not when user click on date‐picker icon. |
Date1 | Tab to date‐picker icon | DATE1: onKeyDown fired Wed Nov 17 10:18:05 EST 2010 DATE1: onKeyPress fired Wed Nov 17 10:18:05 EST 2010 DATE1: onChange fired Wed Nov 17 10:18:05 EST 2010 DATE1: onChanged fired Wed Nov 17 10:18:05 EST 2010 DATE1: onBlur fired Wed Nov 17 10:18:05 EST 2010 DATE1: onFocus fired Wed Nov 17 10:18:05 EST 2010 DATE1: onKeyUp fired Wed Nov 17 10:18:05 EST 2010 | The action was just tab to date‐picker icon without any value change, but still onChange and onChanged event fired. |
Date1 | Hit ‘Enter’ Key | DATE1: onKeyDown fired Wed Nov 17 10:18:31 EST 2010 DATE1: onIconKeyPress fired Wed Nov 17 10:18:31 EST 2010 DATE1: onBlur fired Wed Nov 17 10:18:31 EST 2010 DATE1: onIconClick fired Wed Nov 17 10:18:31 EST 2010 DATE1: onKeyPress fired Wed Nov 17 10:18:31 EST 2010 | DateItem lost focus when date‐picker shows up. |
Date1 | Select new date | DATE1: onChange fired Wed Nov 17 10:18:45 EST 2010 DATE1: onChanged fired Wed Nov 17 10:18:45 EST 2010 DATE1: onFocus fired Wed Nov 17 10:18:45 EST 2010 | DateItem regain focus after date selection. |
Date2 | Click on date‐picker icon | DATE1: onChange fired Wed Nov 17 10:19:06 EST 2010 DATE1: onChanged fired Wed Nov 17 10:19:06 EST 2010 DATE1: onBlur fired Wed Nov 17 10:19:06 EST 2010 DATE2: onIconClick fired Wed Nov 17 10:19:06 EST 2010 DATE2: onClick fired Wed Nov 17 10:19:06 EST 2010 | No value changed but Date1 triggered onChange and onChanged event. Date2 seems not gaining focus. |
Date2 | Click on ‘Cancel’ button | DATE1: onFocus fired Wed Nov 17 10:19:19 EST 2010 | Why Date1 is the one that fires event instead of Date2? |