on 01-12-2007 12:26 PM
Hi All,
I have created one DC of Web Dynpro type and declared it as a PP. In another DC (main), I make use of this as Used DC.
I added the Used DC component in the usedwebdynpro components (Lifecycle: createOnDemand).
The interface view of the Used DC has been added to the Window of the main DC.
This window has a viewset with two cells.
I am trying to fire an outbound plug of the interface view, to invoke an action lying in the main DC (to display a view of the main DC).
When I try to fire the outbound plug in the action of a combo box or button of the interface view, the firing takes place. But when fire takes place on the doInit(), it fails and throws an error saying "instance of interface view does not exist".
Any suggestions?
Thanks in advance
Karthik
Hallo Karthik,
the wdDoInit() hook method is invoked by the Web Dynpro Java Runtime <b>before</b> the embeded/visible component instance is actually being created. This means wdDoInit() is not the "best" hook method to implement this navigation logic.
You should fire navigation plugs from within the root component interface view controller (onPlugDefault) or delegate from there to the component controller.
Regards, Bertram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.