on 08-06-2007 2:58 PM
hi experts,
how can i call view into tabstrip dynamic depends upon my selection
anybody help me on this issue pls
advance thank you,
-
vijai
hi vijay,
can you be little more clear what exactly you want to do?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi senon,
thank u for reply,
created one tabstrip and a selection view and navigation between two, with fireplug
with nologic inside just: wdthis.fireplug<tabstrip>; in slection view onnext();
ok coming to point:
in selection view i have two dropdowns (index) and next button.based on these dropdown selection i need to get the tabstrip, in the tabstrip i have 6 tabs, in one tab i want to change the view according to selection. in the first selection view.
pls help me onthis issue
advance thank u,
---
vijai
Put a ViewContainerUIElement inside the Tab, embed the target view(s) into it (using window modeller), fire outbound plug to the view that should be displayed.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi armin,
thank u for reply,
i did that viewcontainer inside the tab,yes embed the targetviews
but where should fire outbound plug to the view should be done, i mean within the targetviews
my scre is :
i have one view with two drop down based on that dropdown selection, i need to get tabstrip and inside the tabstrip view should be changed on that selection.
i have selection screen with dropdown outside the tabstrip i am calling tabstrip based on that.
advance thank you,
-
vijai
Not sure if I understand correctly, but lets assume you have a view "SelectionView" containing the drop-down lists and a view "DisplayView" containing the tabstrip.
First, add navigation link from SelectionView to DisplayView. Add a parameter "details" to the outbound and inbound plugs that determines which data should be shown by the tabstrip. This might be just an integer.
To trigger the navigation to the DisplayView, you could use the onSelect event of the drop-down lists or add a link/button. In the corresponding action handler, determine which data should be display and call wdThis.wdFirePlugToDisplayView(details);
In the inbound plug of view "DisplayView", check parameter details and change the tab strip selection accordingly. This can be done by binding the "selectedTab" property of the tab strip to a context attribute and setting this attribute's value to the ID of the corresponding "Tab".
Armin
hi armin,
thank u for reply,
yes u r "but lets assume you have a view "SelectionView" containing the drop-down lists and a view "DisplayView" containing the tabstrip."
to the point:
according to my selection i need to get the tabstrip, in that one tab called subject details tab, that should change accoring to my selection in my selection view.
i made a nagivation plug to selection view to tabstrip view
help me on this issue pls
hope with coding how to achive this.
-
vijai
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.