Hello Adepters,
I've created an embedded xui dialog box that's a simple dropdown menu, and its purpose is to let the user set an attribute value on the replaced element.
When the dialog box is loaded, I want the dropdown to display the current value of the attribute. But I can't figure out how to access the replaced element from inside the WindowLoad event handler. I can access it from the domactivate event by using:
Application.event.view.window.ownerNode
But Application.event.view is undefined when I try to do that from the WindowLoad event.
Any pointers? This seems like it should be easy to do.
Thanks,
-James