Skip to Content
0
Feb 25, 2009 at 11:47 AM

How to navigate back from embedded component to main component

19 Views

Hi folks,

Component A uses Component B. So in A i'm firing the Interface Inbound Plug of Component B. This works. Comp B does something and wants to navigate back to Comp A.

In B the view fires the view outbound plug. The documentation of CE tells me, that the inbound plug of a window is the right place to call the outbound plug of the interface view. So, i linked the view outbound with the window inbound, attached an eventHandler method to the window inbound which lateron should fire the interface view outbound plug.

Result: NullPointerException. Debugging shows me, that the view outbound plug is fired, but the eventHandler of the window inbound plug is never called. So something is going wrong with the navigation link. I tried deleting it and assign it once more, repairing the window and deleting and creating all plugs and links of the window.

So, my question. Is this the right way the enable navigation back from an embedding comp to its calling comp in CE 7.1?

Thanx