Skip to Content
author's profile photo Former Member
Former Member

Popups: Navigation from view to window does not work

Hi,

I open a second window as popup. This window has 2 views embedded, displaying view1 first. On some actions I would like to navigate to view2.

Defining an outbound plug on view1 and an inbound plug on view2, connecting them and firing the outbound withith the onaction works absolutely fine.

However, for some reasons I would like to avoid a direct navigation, but would like to navigate from view1 to the popupo window and from there to view2 (or maybe another view, ofcourse also embedded in the same popup window). Unfortunately I fail on this scenario - I can fire the view-to-window plug, but the destination on the window side (handle in method) is never reached.

Since the same concept works fine on non-popup windows I wonder whether a navigation from view to embedded window does not work for popups?

Any idea?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2007 at 02:05 PM

    Hi,

    Just Make a button on your popup window, then try to fire a plug to the view you want to reach. The scenario will be:

    Fire a plug from view1 to Popup Window and on Onaction Button in Popup Window Fire a plug to the view2 .

    I hope this helps.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Lars,

      As Window will not have the visual entities if we navigate to the winow then nothing visual entity will be present to display over the popup.

      But if you want to the control to navigate to the window we can use the event concept. Create a event in component controller and write a event handler in window(where we want the control to go) fire the event from the view(from where we want to navigate to the window), as you know we can also pass the parameters in the event.

      Best regards,

      Suresh

  • Posted on Sep 18, 2007 at 12:34 PM

    Hi ,

    I didnt got the point "I can fire the view-to-window plug, but the destination on the window side (handle in method) is never reached." . what i understand from this u are trying to first a plug from view of one window to another window which is not possible . can u write more on this .

    Regards,

    Yashpal

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Yashpal,

      no, just one window.

      The first link is view1 -> window, the second window -> view2.

      I.e., I fire in the view the outbound plug, which is connected with its window.

      In the window I fire an outbound plug, which is connected to view2.

      In theory this should work - for non-popup windows I do not have any problem at all, however, for popup windows the navigation from view1 to the window is not processed.

      In the meantime I played a little bit further: Instead of firing a navigation from view1, I now fire an event defined in the component contoller, on which an event method is registered within the window. Doing so, I reach the window, which I didn't reach via the navigation link. Once in the window, firing to view2 works just fine ...

      Hope the issue is a bit clearer now. Also I found a solution, I am surprised that the simpler way via navigation does not work.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.