Here is my scenario:
Screen A ===> Screen B ===> Screen C
\\
\\
V
Screen C
What this means is that sometimes Screen A opens B that opens C; other times Screen A opens C directly and B is not used.
The question is: How does C always know who opened it -- A or B? This is essential to know for later processing.
I have tried passing an ID value from A to C and from B to C so C can know its parent, but I always run into the problem of the browser interpreter stating that the code-of-the-path-that-is-not-the-parent-this-time "has no properties" and that error causes processing to stop. So far the "try/finally" statement has not worked for me in bypassing this error.
What I really need is the ability to catch an error the interpreter identifies and let me safely defuse it so that processing continues.
If there is no such ability in Javascript, I need some fresh ideas how to do what I want without generating these processing errors.
Thanks to all who can help.
Screen A ===> Screen B ===> Screen C
\\
\\
V
Screen C
What this means is that sometimes Screen A opens B that opens C; other times Screen A opens C directly and B is not used.
The question is: How does C always know who opened it -- A or B? This is essential to know for later processing.
I have tried passing an ID value from A to C and from B to C so C can know its parent, but I always run into the problem of the browser interpreter stating that the code-of-the-path-that-is-not-the-parent-this-time "has no properties" and that error causes processing to stop. So far the "try/finally" statement has not worked for me in bypassing this error.
What I really need is the ability to catch an error the interpreter identifies and let me safely defuse it so that processing continues.
If there is no such ability in Javascript, I need some fresh ideas how to do what I want without generating these processing errors.
Thanks to all who can help.
Comment