Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-27742

TabbedViewNavigator, issue with setItemAt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.5.1 (Release)
    • Mobile: ViewNavigator
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Given a TabbedViewNavigator defined like so:

      <s:navigators>
      <s:ViewNavigator label="Login" firstView="views.LoginView" width="100%"/>
      <s:ViewNavigator label="Register" firstView="views.RegisterView" width="100%"/>
      </s:navigators>
      If I replace the first tab later on like so:
      var vn1:ViewNavigator = new ViewNavigator();
      vn1.firstView = views.HomeView;
      vn1.label = "Home";
      vn1.percentWidth=100;
      this.tabbedNavigator.setItemAt(vn1,0);
      The label in the tab does change, but firstView continues to be loginView. Even clicking away and returning doesn't work.

      Workaround specified by user "Dynamic Internet Dev" here - http://forums.adobe.com/message/3758746#3758746

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: