Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-3982

swingbuilder tabbedpane does not allow bind to selectedindex

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.7, 1.7.0, 1.8-beta-1
    • None
    • Swing
    • None

    Description

      From Griffon's JIRA http://jira.codehaus.org/browse/GRIFFON-130

      When trying to bind a integer variable from the model to selectedindex on tabbedpane in view, throws error.

      Ex:
      tabbedPane(id:'tabs', selectedIndex: bind(value:model.tabSelected))

      Unknown macro: { ... }

      I'm a bit new to griffon so I tried variations to make sure I'm doing this right but saw someone else mention that bindings do not work on selectedIndex on tabbedPane and to file a bug. No bug was filed when I did a search so I wanted to make sure this went in.

      selectedIndex receives special treatment in TabbedPaneFactory which may interfere with binding

      Attachments

        Activity

          People

            Unassigned Unassigned
            aalmiray Andres Almiray
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: