Dear Community,
for a non modal dialog page you can set the custom attributes width, height, and maxWidth. All those seem quite static, and you maybe need application placeholder items, to make the opened window fit dynamically into the screen.
This all can be achieved somehow.
What I am really wondering now, is how you can set the top position, supposed you want the window cover the lower half of the screen, so that the user still sees related data on the parent window?
Formerly you could use the window.open() function and set all sorts of attributes there manually. But how can you achieve this in APEX 5?
I already tried to get the url with apex_util.prepare_url(...), then change the attributes with a regexp, and then use eval() - which is not recommended, i know.
But the apex.navigation.dialog api obviously does not support for setting a top attribute.
Another way to position the window would be at the time of a window open event itself. But then the user would always get a window at the wrong position, that after opening repositions itself... very userunfriendly!!!
So. I would really appreciate very much, if someone could help me solve this puzzle.
Thanks and greetings,
tobi