on 06-05-2007 1:51 PM
Hi,
I have created a component that implements a component interface.
It shows a view with a user control and a button. No methods or events are part of the component interface.
When I dynamically create the component based on its interface(IWDComponentUsage.createComponent(arg1, arg2)), the component does not show up. There is no info available in the logfile.
What could be wrong?
Thanks in advance,
Roelof
Hi,
Check the default property of the view in your dynamic component.
See if it is true.
For more info go through the tutorial.In this they are trying to create a component dynamically
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8d7cd90-0201-0010-4a8c-dd22fa16ca0a">Dynamic component</a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Luciano and Shriram,
I tried to fire navigation plugs but to no avail. Besides there is no navigation.
The eventing example does not cover creation of components based on its component interface.
What I want is a component that can show a list of components. I guess this requires the components to be created and destroyed dynamically. The size of the list is unknown and varies.
Is there a guide or tutorial for that?
Thanks in advance,
Roelof
Hi Roelof,
Well, you have to create the fire plug navigation in the first to then you fire a plug navigation.
Have a look at the link below:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a137c339-0b01-0010-a688-a87b88706845">How to Navigate Inside Web Dynpro Component Interface Views</a>
Regards,
Luciano
Hi Roelof,
You have to fire a navigation plug to show the view. Did you create a navigation plug between the main view and the interface view?
regards,
Luciano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.