on 09-15-2005 10:33 AM
Hi,
I have created an Adaptive RFC WebDynpro Application having two views, where the views display the data from the SAP R/3 backend in tables.
The first view has a table which gets populated on the click of a button. Now when I click on one of the entries in the table, the second view has to be displayed.
The Second view also has a table which displays data from the backend.
I am able to retrieve the data from the backend, but the problem now is, when I click on the data entry on the first view, the second view gets displayed only for 1 second. Immediately after a second it gives the following error.
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Instance of view controller PR_REQ10_List_View does not exist.
at com.sap.tc.webdynpro.progmodel.controller.Component.getController(Component.java:353)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.handleUIElementEvent(HtmlClient.java:767)
at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.updateEventQueue(HtmlClient.java:698)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.initEvents(AbstractClient.java:131)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.prepareTasks(AbstractClient.java:99)
at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
Here "PR_REQ10_List_View" is the name of my first view
Does anyone know how I can resolve this error? If yes, kindly share the solution.
Thanks and regards
Reena
Hi Reena,
If both views are under the same window, then only one view is active at a time.
So please create a viewset and place the views in different cells and try.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I tried placing the views in different cells of the viewset. The error is resolved.
But the problem is, both the views are displayed at the same time in a single window.
Whereas what I want is, when I click on the first view, the first view must be hidden and the second view must appear in place of the first one.
Any pointers on how to go about this?
Thanks in advance
Reena
Hi,
Create a Value attribute of type visibility from Dictionary(com.sap.ide.webdynpro.uielementdefinitions.Visibility)Visibility) and bind it to your View's Visible propery.
Now set the visibility of your view that you dont want to display initially as WDVisibiliy.Blank,in this manner:
wdContext.currentContextElement().setVis(WDVisibility.BLANK)
//where Vis is the context attribute here that u created.
and then on any action set it to WDvisibility.visible -when you want to show it, like this
wdContext.currentContextElement().setVis(WDVisibility.VISIBLE);
All the best.
Regards,
Sirisha.R.S
Hi Reena,
You can outboundPlug from view1 to View2 and fire the plug to nagivate to View2.
On View1 create Outplug with name "ToView2".
Place a Button and in the button action write "wdThis.wdfireToView2()"
Now on click button it will navigate to the view2.In this case view1 will not be displayed after clicking on the button.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I have the same problem after a while. We are testing a Web Dynpro Application, and when we try to use it after 10-15 minutes of inactivity, we were shown this problem. It looks like a timeout problem, or something like that.
Here is the stack :
com.sap.tc.webdynpro.services.Exceptions.WDRuntimeException: Instance of view controller ControlList does not exist.
controller .Component.getController....
PieClient.handelUIElementEvent...
PieClient.updateEventQueue...
...
Thanks
Message was edited by:
Bvd-It Services
Hi Reena,
Try recreating the iView and then apply the old conditions, this might take a while but its worth a shot.
Regards
Srikant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Reena,
How is your second view called from the entry of the table, I mean Is your second view in seperate window and called as a popup? If not, try that I think that would surely work.
Regards,
Dharmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
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.