on 06-09-2006 12:24 PM
Hello,
I've got a TabStrip in my Application. How can i modify the views between the tabs. I think it is an action like "onSelect" but if i try this code i get an ClassCastException message:
IWDTabStrip tab4 = (IWDTabStrip)view.getElement("Tab2");
tab4.setOnSelect(wdThis.wdGetOpenUserListAction());
okay,
but i think you dont understand my problem.
i've got a tabstrip with 3 tabs (userlist, inventarlist and inventarattributlist).
when i click on userlist, i have an action how i get userdetails.
but how can i handle, if i click on inventarlist tha i get an inventarlist.
i should be a different view and a different action.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you want to place different views inside tabs, add a ViewContainerUIElement inside each tab and assign the views to the containers (node "Windows" in Web Dynpro Explorer).
In the action handler of the TabStrip.onSelect event, navigate to the view corresponding to the selected tab. In the inbound plug of that view, you can execute the method that retrieves the data for this view.
Armin
thanks,
that solved my problem!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in my "public static void wdDoModifyView"
i have this code:
IWDTabStrip tab = XXX;
wdContext.currentContextElement().setSelectedTab(tab.getSelectedTab());
but however i edit XXX i get an error message
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks armin,
i tried this but how can i initalize the IWDTabStrip?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for your help but i can not find any solution for my problem in this document
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
GOOD
GO THROUGH THIS LINK I HOPE DEFINITELY YOU WILL GET SOME IDEA TO SOLVE YOUR PROBLEM
http://support.businessobjects.com/library/docfiles/cps10/downloads/en/boxi_sap_infoview_en.pdf
THANKS
MRUTYUN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
okay,
it is a tab. but how can i handle different actions for the different tabs and views?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sebastian,
Check ID you are using in view.getElement("Tab2").
Seems that <b>Tab2</b> is not a <i>TabStrip</i> but a <i>Tab</i> within TabStrip.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.