Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2216

The partialSubmit does not work with JSF 2 RI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-core
    • 2.1.0-core
    • Components
    • None
    • Mojarra 2.1.6 (SNAPSHOT 20111206)
      Glassfish 3.1.1
      Trinidad 2.0.0

    Description

      Trinidad's partialSubmit does not work because the source parameter passed in the jsf.ajax.request call is null. See XMLRequest.js on the line 358. The source is part of the payload but is not assigned to the source parameter itself. It causes the RI implementation of jsf.ajax.request throws an error because of this code in it:

      if (typeof source === 'undefined' || source === null) {
      throw new Error("jsf.ajax.request: source not set");
      }

      Attachments

        1. TRINIDAD-2216.patch
          2 kB
          Max Starets
        2. TRINIDAD-2216-2259-2302.patch
          4 kB
          Robert Schoch

        Issue Links

          Activity

            People

              darkarena Scott O'Bryan
              havis Tomas Havelka
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: