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

The partialSubmit does not work with JSF 2 RI

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-core
    • Fix Version/s: 2.1.0-core
    • Component/s: Components
    • Labels:
      None
    • Environment:
      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-2259-2302.patch
          4 kB
          Robert Schoch
        2. TRINIDAD-2216.patch
          2 kB
          Max Starets

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: