Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1226

PPRPanelGroup support for multiple forms in a page is broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.1.7-SNAPSHOT
    • 1.1.7
    • PPRPanelGroup
    • None

    Description

      When a triggering element is part of another form than a triggered element, PPRPanelGroup doesn't behave well. The cause is related to where the triggered element is kept, and a possible solution is to keep it in the "window" object.

      Please look in ppr.js at "org.apache.myfaces.PPRCtrl.prototype.elementOnEventHandler" and at "org.apache.myfaces.PPRCtrl.prototype.formSubmitReplacement"; replacing this.triggeredElement with window.triggeredElement fixes the problem, but it might not be the best solution.

      Attachments

        Activity

          People

            hazems Hazem Saleh
            catalean Catalin Kormos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: