on 10-07-2010 7:38 AM
hi experts,
I want to create a view inside a view in my web-dynpro application. The window should not be navigated. In same window i have to post many views in same container. How to do it. Pl guide me..
Thanks in advance..
Regards
Vinodh
hi Vinodh,
for ur main view, embed 4 view containers and in window embed the corresponding views into the view containers..
bind the VISIBLE property of all the view containers with a context attribute of type WDUI_VISIBILITY and set the initial value to '01', using set_attribute method( use code wizard CONTROL+F7)so as to hide all the view containers, u can do this in WDDOINIT..
now in the onAction of the button1 , make VC1 as visible by setting the attribute to '02' and rest others as invisible..
this way u will be able to achieve the required fuctionality..
regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
you can also try Dynamic programming to place the desired view on the View Container . In this way you have only one VCE in your window.
Programmatically you have to embed the desired view in the window.
see [Dynamic programming|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/4c/60154219fce12ce10000000a1550b0/content.htm]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Use a viewContainer UI element to embed a view within a view.
Thanks,
aditya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Vinodh,
simply place a View container UI element in the view in which u want to place a other view..
now go to the window in which ur parent view is embedded, there drill down to the view container inserted->right clik and choose embed view and choose the second view, which is to be placed.
regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinodh,,
In the Main View,Place View Container UI Element,how many u want...In the Window emdeb the different views in the View Continaers Of the Main View...Then U Can Able To See Different Views in A Single View
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.