Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2594 Allow factories to intercept and handle child closures
  3. GROOVY-2595

in SwingBuilder, action() node should accept child closure as action closure

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.6-beta-1
    • Swing
    • None

    Description

      Basically the following should work as expected, the child closure is executed when the action is fired.

      Swing.actions() {
      action(name:'do stuff')

      { /* .. do interesting stuff */ }

      }

      Attachments

        Activity

          People

            shemnon Daniel Ferrin
            shemnon Daniel Ferrin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: