on 10-18-2006 9:19 AM
Hello everyone!
I know how to create a navigation link from one view in a WD component to another view in the same component. Is there way I can create a navigation link from one component to the other component in a WD project?
I have one view in a component which has a button. On clicking this button, I want a second view in a second component to start. In addition, there is a value that I want to pass to this second view in a second component. As far as I know there is no way of creating an inbound plug for the second view in the second component mapped to an outbound plug of the first view in the first component. I have added the component usages, thats no problem. But I want the other view from the other component to fire when a button in the first component is clicked. A value has also to be passed between the two of course.
Thanks,
Sameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mukesh,
Thanks for the links, they did help me quite a bit. However, I am getting a WDRuntimeException - Cannot navigate from view KselectComponentInterfaceView because it is not part of the current view assembly.
I have embedded the interface view of the view in the first component and I can access methods and such. But when I fire the plug to go to the next view, I get the error above.
This is my code where the exception pops up -
public void onActionConfigure(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String componentToMap )
{
//@@begin onActionConfigure(ServerEvent)
wdThis.wdGetKselectComponentInterfaceViewController().wdFirePlugToConfigureViewExitPlug(componentToMap);
//@@end
}
The plug is defined in the Interface view naturally, not in the view where the above code is.
Thanks,
Sameer
Hi
See this Samples and help
<a href="https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/751d003a-0b01-0010-8996-afbaa3fd5339">How to Navigate Inside Web Dynpro Component Interface Views</a>
Kind Regards
Mukesh
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.