cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic View creation

Former Member
0 Kudos

Hi all,

Is it possible to create view at runtime?

My requirement is, number of tabs to be displayed on a screen is known at run time only. For each tab, I want a separate view. The way I can create tabstrip/tabs in my code, can I do same for the view?

-Tejal

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

My suggestion is create the view at designtime and place the controls dynamically depending upon the tab strip selection.

Regards, Anilkumar

Former Member
0 Kudos

Thanks Rohit and Anil,

I think evenif I cannot create a view dynamically, I will be able to fulfil my requirement using tabs.

-Tejal

Former Member
0 Kudos

Hello Tejal,

Dynamic views are not possible in webdynpro.Try to create one view and use dynamic UI elements.You can bind the visibility of these elements to context attributes and enable or disable it at runtime

Hope this helps you

Regards

Rohit