on 09-12-2008 11:56 AM
Hi All,
I am facing some issues while trying to add a view in the dynamically created ViewContainerUIElement.
Can someone please help me out.
Thanks and Regards,
Gaurav.
Hi All,
I don't think my requirement is so complicated. The thread is 4 years old (the one posted by Avik) and we are currently working on 7.1 version of the NWDS.
I am restating my requirement. I am creating a Table dynamically and want to add a popin to it (offcourse has to be dynamic). Now this popin content is a ViewContainerUIElement (VCUI). In this VCUI I need to embed an interface View. Everything has to be done dynamically only.
First of all is it possible to do. If yes can somebody let me know how to do it. And if no can someone let me know a workaround.
Thanks,
Gaurav
Edited by: Gaurav Agrawal on Sep 23, 2008 8:29 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gaurav,
You will have to use dynamic programming to fix this
in the domodifyview
if ( firstTime )
{
final IWDUIElementContainer group
= (IWDUIElementContainer)view.getElement( "grInner" );
group.destroyAllChildren();
final IWDViewContainerUIElement container
= (IWDViewContainerUIElement)view.createElement
(
IWDViewContainerUIElement.class, null
);
container.setViewContainer
(
wdContext.currentContextElement()
.getViewContainerName()
);
group.addChild( container );
}
Now you wil have to set the container name in init or some method.
Regards
Pankaj Prasoon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
try with this link:
http://help.sap.com/saphelp_nw70/helpdata/EN/5e/131640033ae569e10000000a155106/frameset.htm
regards
vineela
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.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.