Skip to Content
0
Former Member
Dec 10, 2008 at 12:22 PM

Embed a view dynamically in a ViewContainerUIElement

199 Views

Hi all,

is it possible to embed a view dynamically into a View Container UI Element?

I'm able to create this ViewContainerUIElement by code, but I also want to embed the view per code!

I don't want to put it fixed in the component usage in the component controller.

The suitable solution would be:

3 variables:

a flag "show_view"

"view_name"

"component_name"

if show_view is true -> load view_name from component_name in ViewContainerUIElement.

Is a szenario like this possible?

Thanks a lot, points will be awarded for sure!

Steffi