on 07-13-2011 11:47 AM
Hi friends,
I am creating one application in Webdynpro java for creating Table dynamically at run time. But i am getting error after deploying the application.
I am getting this error :-
error at runtime table "com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: View: Cannot add element with duplicate ID "tb" of type com.sap.tc.webdynpro.clientserver.uielib.standard.impl.Table "
how to solve this error.
Thanks & Regards,
Murali
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Code to change the view programmatically has to be placed in method wdDoModifyView(). Because this method is callled every time a view is rendered, you have to make sure that creation of a view element happens only once.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Murali
Please check if you have created the table object two time with same table ID "tb" or somewhere already exist table id "tb".
Change the table id and check the issue.
Best Regards
Arun Jaiswal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
just make sure the id of an ui element is unique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This error comes when you attempt to dynamically create 2 UI elements with same ID.
Check your code properly....you will spot the error....
Or Check your Design Time UI elements and see if you have already defined on element with an ID which you attempt to assign your UI element at runtime.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.