Skip to Content
author's profile photo Former Member
Former Member

Changing Views in Tabstrip through Buttons

Dear all,

I have made tabstrip through which views are changing and these views are in different local development projects and I am using these through the concept of Used WebDynpro Component .Now I have given two buttons Next and previous in the main view through which I want to change these used views.

Please provide me some code.Its urgently needed.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 02:26 AM

    Hi Manish,

    1) Create a Context Attribute "<b>TabStripSelected</b>" of type String

    2) Bind "TabStripSelected" to the <b>SelectedTab</b> property of TabStripUIElement

    2)a) Name the Tab1's id property as "one" [it accepts only String]

    2)b) Name the Tab2's id property as "two"

    3) Create a Button

    4)onActionClick of that button add the following line of code.

      wdContext.currentContextElement().setTabStripSelected("two");

    Best Regards

    Chaitanya.A

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 05:55 PM

    Hi Manish,

    Create context attribute of String type. And bind this to <b>selectedTab</b> property of TabStrip. In the button event handler set the desired tab ID(You can find this in tab properties.This is case sensitive) to the context attribute.

    regards,

    siva

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.