on 04-03-2008 4:33 AM
Hi Experts,
Can anybody tell me whether we can embed a new view into an existing view .
Thanks a lot .
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
If ur problem has solved make the question as solved.
Regards
Hazrath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.