on 08-26-2010 8:43 AM
Hi all,
Anyone knows how to create a view dynamically and embed the view into an existing view container?
My layout looks like this:
I have an existing view named main_view.
Inside main_view, I create a view ui container named vcu_view.
I embed the main_view into my window.
I need the codes to create a view dynamically and embed the view into the view container. Anyone have any idea?
Thanks in advance.
Rgds,
Siong Chao
hi Siong Chao ,
i think we cant creat a view at runtime .. atleast we have to create an empty view .. only we can design the view by adding UI in runtime .. NOTE : Experts pls correct me if i am wrong .
Regards
Chinnaiya P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Siong Chao ,,
empty view insence ..( create a view without any UI element in it ) in design time ..
>
> Hi Chinnaiya,
>
> How do you create an empty view dynamically then? Thanks in advance.
i think we cannot create a new view dynamically because it is a webdynpro restriction ..
NOTE: experts correct me if i am wrong in this answer
Regards
Chinnaiya P
Hi Siong Chao,
Create another view and embed this in the ui container vcu_view. Now, you can create the content of the empty view dynamically.
Regards,
Manogna
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 | |
10 | |
10 | |
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.