Welcome! Log In Create A New Profile

Advanced

Determine PageDisplay vs PageDisplayDialog [hmm! - have Workaround]

Posted by DerekM 
Determine PageDisplay vs PageDisplayDialog [hmm! - have Workaround]
September 09, 2020 05:34AM
Hi

My issue is a WebDev application where many pages are loaded from different modules - sometimes by PageDisplay and sometimes by PageDisplayDialog depending on the context.

Has anyone encountered anything similar. I need to determine on the page if I can use PageClosedDialog (or ContextClose). Is there a way to determine the display mode or alternatively catch this condition to prevent the Fatal Error.

I'm still stuck on Version 22.

The work-a-round of course is to pass a parameter when displaying the page.



Edited 1 time(s). Last edit at 09/10/2020 09:59AM by DerekM.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: