Skip to Content
0
Former Member
Apr 26, 2009 at 11:27 AM

Using interface controller between different DCs in mobile OCA

25 Views

Hi,

My requirement is to pass information and screen control between two components in two different DCs.

My parent DC Component has to pass information to my child DC Component and also call the view assembly of the child DC.

I am using NWDS CE7.1 SP07 PAT003.

In my child DC I have created a component Interface Definition say ChildInterface. In the context of interface controller of ChildInterface I have added a string attribute. ChildInterface also has a view container.

Now in my Child component I add ChildInterface as my Implemented Interface. I map the window of the child component to the ChildInterface. To the view container I add the default view of the component.

Now I have created a public part and added the ChildInterface as an entity.

I add a dependency in my Parent Component to this child DC's public part.

At design time I can access my ChildInterface's context from my parent component. However, while adding a link from parent default view to ChildInterfaceView, it gives me an error. however on reload it suppress the error but doesnt open the java editors.

While trying to deploy the applications it gives me a deployment failure message.

Following is the trace-

demo.sap.com parentimplementation\demo.sap.comparentimplementation.wdl">

<f n="LocationName" v=" (com.sap.tc.mobile.cfs.deploy.oca.OCADeployer:OCADeployer)"/>

<f n="ThreadName" v="main"/>

</r>

demo.sap.com parentimplementation\demo.sap.comparentimplementation.wdl

at com.sap.tc.mobile.cfs.deploy.oca.OCADeployer.deploy(OCADeployer.java:81)

at com.sap.tc.mobile.cfs.deploy.DeploymentManager.processDeploymentStatusObjects(DeploymentManager.java:550)

at com.sap.tc.mobile.cfs.deploy.DeploymentManager.processInbox(DeploymentManager.java:197)

at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init(FrameworkInitializer.java:192)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sap.tc.mobile.cfs.startup.pda.Startup.main(Unknown Source)

">

<f n="ThreadName" v="main"/>

</r>

sap.com tcmobilewdlitecontainer could not be found. Trying to use the default bundle.">

<f n="LocationName" v=" (com.sap.tc.mobile.wdlite.renderer.exception.OCAExceptionLocalizeHelper:)"/>

<f n="ThreadName" v="main"/>

</r>

<r id="1240744927696" t="16:52:07" d="2009-04-26" s="E" c="000" u="" g="" m="Internal Error. Please check the log file. --&gt; java.lang.NoSuchMethodException: com.sap.tc.mobile.wdlite.framework.Start.setUpSystemMenu()

at java.lang.Class.getMethod(Class.java:1581)

at com.sap.tc.mobile.wdlite.progmodel.core.Application.resetSystemMenu(Application.java:260)

at com.sap.tc.mobile.wdlite.progmodel.core.Application.enter(Application.java:242)

at com.sap.tc.mobile.wdlite.progmodel.core.Application.setCurrent(Application.java:119)

at com.sap.tc.mobile.wdlite.progmodel.core.Application.launch(Application.java:143)

at com.sap.tc.mobile.wdlite.progmodel.core.Application.launch(Application.java:175)

at com.sap.tc.mobile.wdlite.progmodel.core.WDLite.launchApplication(WDLite.java:334)

at com.sap.tc.mobile.wdlite.framework.Start.runOnContext(Start.java:580)

at com.sap.tc.mobile.wdlite.framework.Start.startApplication(Start.java:604)

at com.sap.tc.mobile.wdlite.framework.Start.startContainer(Start.java:641)

at com.sap.tc.mobile.cfs.framework.spi.FrameworkManager.startContainer(FrameworkManager.java:259)

at com.sap.tc.mobile.cfs.init.FrameworkInitializer.init(FrameworkInitializer.java:230)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at com.sap.tc.mobile.cfs.startup.pda.Startup.main(Unknown Source)

">

<f n="ThreadName" v="main"/>

</r>

<r id="1240744927697" t="16:52:07" d="2009-04-26" s="E" c="000" u="" g="" m="Internal Error. Please check the log file.">

<f n="LocationName" v=" (com.sap.tc.mobile.wdlite.renderer.exception.OCAExceptionHandler:)"/>

<f n="ThreadName" v="main"/>

Please help.

Regards,

Nisha