cancel
Showing results for 
Search instead for 
Did you mean: 

Embed New View

Former Member
0 Kudos

Hi Experts,

Can anybody tell me whether we can embed a new view into an existing view .

Thanks a lot .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

it is possible to embed one view inside another but with the help of "view container". Suppose you have 2 view, view1 and view2 And you have embed view2 in view1. Now select "view1" and right click on it. Select Create "View Container". And now within that view container you can ember view2. Now to navigate from view1 to view2 , you have to use "re-entrant plugs".Now view2 is the child view of view1.

Re-entrant navigation Links

When an outbound plug is fired, it means the current view controller is no more required, and we wish its space within the view container to be occupied by a different view controller.

However, a re-entrant navigation link is one where the outbound plug is joined to the inbound plug of a child view within the scope of the same view controller. In other words, the outbound navigation link re-enters the view controller you thought it was leaving.

Whenever such an outbound plug is fired, the current view controller instance is always retained in the view assembly, but a child view instance contained within a ViewContainerUIElement is replaced.

regards,

pinki

Former Member
0 Kudos

Hi Pinky,

Thanks a lot for the reply . It helped me a lot .

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi

If ur problem has solved make the question as solved.

Regards

Hazrath

Former Member
0 Kudos

Hello jain,

you can embed multiple views to window and view set, not to another view. If you want to see multiple views in a single panel, you can try view set and you may find multiple container styles ( such as T and so ) and embed views in to.

Regards

- Vinod

*

former_member201361
Active Contributor
0 Kudos

hi,

there is a possible way to embed a new view within a view . this can be done using ViewContainerUI Element.

eg:

tab Strip.

in this UI element there can be several tabs .so by clicking a tab we can show another view by using the View Container UI Element. ie in the Tab Content insert the View Container UI Element and Now open the Window, Embed the view Inside the another View

Thanks and regards

fazal

Former Member
0 Kudos

Hi,

Its not possible to embed a view with in the view.

Embed view comes under Viewset/Window in the WD for java.

Window:

with in the window u can embed newView,Existing view,Empty View and Interface View also.

ViewSet:

A view set is a layout in which you can embed your views at design time.

These viewsets will be used for desiging,displaying the UI elements.

By using different Layouts we can embed the view in the view set.

Regards,

lavanya.G

former_member485701
Active Participant
0 Kudos

Hi,

Embedding of view inside a view is not possible.

There are different view sets are available in windows layout.

But there is also work around you can use viewcontainerUI Element in your view.

And the in windows layout, you can embed the view inside this container.

Regards,

Praveen

Former Member
0 Kudos

Hi

1)U cannot embed a view within another view.

2)U can embed the view either in Window or in view set.

Regards

Hazrath