onOpen probably makes sense - I can add that - already should work for Dialog. Not sure about the other two tho - or if browsers even report those hooks.
SlimerDudeMon 30 Jul 2012
onOpen probably makes sense
That'd be great. I'm looking for a consistent (in Java / JS) way to kick off code when I open the main window.
SlimerDudeWed 9 Sep 2015
Dunno if this has been lost sight of, but it'd still be useful if the onOpen event was fired in Javascript.
SlimerDudeMon 21 Sep 2015
Here's a quick patch that fires the Window.onOpen event in JS:
SlimerDude Mon 30 Jul 2012
Am I right in thinking some fwt::Window events are not invoked in JS? The following :
in Java prints:
...but nothing in JS?
andy Mon 30 Jul 2012
onOpen
probably makes sense - I can add that - already should work for Dialog. Not sure about the other two tho - or if browsers even report those hooks.SlimerDude Mon 30 Jul 2012
That'd be great. I'm looking for a consistent (in Java / JS) way to kick off code when I open the main window.
SlimerDude Wed 9 Sep 2015
Dunno if this has been lost sight of, but it'd still be useful if the
onOpen
event was fired in Javascript.SlimerDude Mon 21 Sep 2015
Here's a quick patch that fires the
Window.onOpen
event in JS:without the patch, my code usually looks like:
andy Tue 22 Sep 2015
Fixed