There does not seem to be an equivalent way to get the current modal view that is running like you can get the current non-modal page from the frame.topmost(). With the frame.topmost() you can do view.getViewById(frame.topmost(), "id") and find an id somewhere on the running non-modal page.
However, if a modal page is up; it is not included in the search. Is their another technique other than capturing the modal page object on the loaded event? (i.e. so if I have a library that auto-searches for something it can find it if it is a normal page or a modal page).
Did I miss something, or does the frame code need some addition code to allow the modal pages to be included in a modal stack so that the search can find it?
There does not seem to be an equivalent way to get the current modal view that is running like you can get the current non-modal page from the frame.topmost(). With the frame.topmost() you can do view.getViewById(frame.topmost(), "id") and find an id somewhere on the running non-modal page.
However, if a modal page is up; it is not included in the search. Is their another technique other than capturing the modal page object on the loaded event? (i.e. so if I have a library that auto-searches for something it can find it if it is a normal page or a modal page).
Did I miss something, or does the frame code need some addition code to allow the modal pages to be included in a modal stack so that the search can find it?