Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Tab setDisabled() not working.

    SmartClient Version: v10.0p_2015-07-30/PowerEdition Deployment (built 2015-07-30)
    Firefox 26.0

    Hello,

    Tab setDisabled() function doesn't appear to be working. I'm attaching  a test.java file to illustrate the issue.

    Thanks,

    Cristian
    Attached Files
    Last edited by cpopescu; 21 Sep 2015, 17:35.

    #2
    Not reproducible. Please test with the latest patched build.

    Also, use draw() not RootPanel.add() (see QuickStart Guide). Note that this would not be expected to cause this problem, so although you should correct your code anywhere you are using RootPanel.add(), you still need to update to a more recent patches build.

    Comment


      #3
      I tried the latest nightly build and I got the same results. The only way I can make it work is to use the "TabSet" with enableTab/disableTab(Tab) (enableTab/disableTab( ID) is not working either).

      Comment


        #4
        Hi cpopescu,

        the tab1.setDisabled(disable) in your code is not supposed to work, see the docs.
        The rest should work IMHO.

        Best regards,
        Blama

        Comment


          #5
          Thanks Blama! We used setDisabled as a way to dynamically change the state of a tab and it worked fine before 5.0. I guess it was bug that we used as a feature.

          Comment

          Working...
          X