on 04-28-2012 8:21 AM
Hi,
Pls help me how to navigate Comp1-> view1 from Comp2 ->view2.
Comp1->View1 having input box with button, once user clicks on it should navigate to Comp2->View2 and display View1 data with a button to go back to Comp1->View1 once user clicks on.
I am working on CE7.2. I have tried to create outbound plug to InterfaceView but getting error-
Controller 'Comp1Window': Implementation error: Missing outbound plug 'toOut' from interface view 'Comp1InterfaceView' of interface 'Comp1Interface'
Highly appreciated your help on this.
-Ian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jun, the error showing in Windows, and couldn't find option to quick fix. Is the option available in CE7.2, sp4
Do advice is there are any alternative method to execute view in another component by using events or methods. I am not familier with wdj, appreciate your ideas on this.
Thanks in advance.
-Ian
Error fixed now but I cudn't able to establish navigation between two components.
As per my requirement, comp1 -> view1 having ui elements with button, and declared action to button. Created Outbound plug to Interface View, and public part to access this comp from comp2.
In comp2, added as comp1 as used component, and mapped comp2 component controller with comp1 interface controller. In comp2 window, linked between outboutplug of comp1interfaceview with comp2->view2.
I have created application to comp2, while running application comp1 -> view1 is displaying as I expected but once user clicks on button, comp2 -> view2 not displaying.
I believe somehow I missed to write action handler, not sure where to write. I gone thru some of sap docs but failed to implement.
Appreciate your help on this, treat it as an urgent.
-Ian
Message was edited by: Ian B
I have created outbound plug to view1 ex. Comp1_View1_Out, and in button action I wrote --
public void onActionGo(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
{
//@@begin onActionGo(ServerEvent)
wdThis.wdFirePlugComp1_View1_Out();
}
when I run the application by click on the button above code giving error -
500 Internal Server Error | SAP NetWeaver Application Server/Java AS |
The initial exception that caused the request to fail, was:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Cannot navigate via outbound plug Comp1_View1_Out of view Comp1View because there is no navigational link attached to it
at com.sap.tc.webdynpro.progmodel.window.ViewController.doOrdinaryNavigation(ViewController.java:427)
at com.sap.tc.webdynpro.progmodel.window.ViewController.navigate(ViewController.java:409)
at com.sap.tc.webdynpro.progmodel.window.ViewController.navigate(ViewController.java:341)
at com.sap.demo.wd1.wd.comp.comp1.wdp.InternalComp1View.wdFirePlugComp1_View1_Out(InternalComp1View.java:284)
at com.sap.demo.wd1.wd.comp.comp1.Comp1View.onActionGo(Comp1View.java:187)
... 57 more
Thanks in advance,
-Ian
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.