Announcement

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

  • Confusing Javadoc for TabDeselectedHandler.onTabDeselected()

    The return type of TabDeselectedHandler.onTabDeselected() is void. But the Javadoc at https://www.smartclient.com/smartgwt...edHandler.html

    says "Returning false will cancel the new selection, leaving this tab selected".

    This looks like a documentation error. How can I prevent a tab selection change?

  • #2
    I suppose that I should call TabDeselectedEvent.cancel().

    This method's Javadoc is very similar: it also returns void, and there is also mention of returning false...

    Yes, it works fine. But I still say that the Javadoc is wrong and/or confusing...
    Last edited by JCGB; 14th Apr 2018, 17:09.

    Comment


    • #3
      We've clarified the docs. Please try the next nightly build, dated April 17.

      Regards
      Isomorphic Software

      Comment

      Working...
      X