on 05-06-2010 1:43 PM
I have a scenario to navigate between tabs. The below is the actual requirement, please help me in get it done!
1. there are 2 tabs(tab1 and tab2)
2. Tab2 has a linktoaction element named "TAB1"
3. When i click on the linktoaction element i need to navigate to the TAB1 from TAB2. Please help me in getting this done!
Thanks,
Selvakumar M.
Hi Selvakumar,
1. Create a Attribute at View context of type string .
2. In layout of Tabstrip there is a property 'selectedTab'
and assign that created attribute to <b>this</b> selectedTab.
3. In the action of linktoaction, Just change set attribute
to your required tabname.
4. In WDDOINIT method you have to set the created Attribute
to <b>default</b> TAB name(TAB1 in your scenario) .
Hope this resolves your problem.
Regards,
Raghava Channooru.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The tab2 has only a viewcontainer.
The viewcontainer has a view within which this linktoaction is present, Though there is a event available in the events list in the main view(view containing the tab), the code is not working as the linktoaction on the view work independantly(when i exectue the view standalone).
Thanks,
Selvakumar M.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.