on 04-28-2009 7:52 AM
Hello,
How to create the component from another component dynamically ?
Thanks,
Teja.
Hi Teja,
create a component usage and select lifecycle as manual and provide the following coding on action or in wdinit()
IWDComponentUsage pUsage = wdThis.wdGetUsageComponentUsage();
if(pUsage.hasActiveComponent())
{
pUsage.deleteComponent();
}
wdThis.wdGetUsageComponentUsage().createComponent();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use this blog
https://www.sdn.sap.com/irj/scn/wiki?path=/display/wdjava/usecomponentsinbiggerWebDynproprojects+%2528componentization%2529
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.