jsf-extensions
  1. jsf-extensions
  2. JSF_EXTENSIONS-61

jsf-extensions-dynamic-faces.jar causes ajax requests to be served more than once...

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      61

      Description

      I am trying to deploy the blueprints examples on the sdk preview 3 and I am
      running into a problem.

      I already renamed the Util class to BPUtil in the bp-ui-5.jar that resolved the
      clash between the 2 libraries.

      But now when I deploy the bpcatalog's auto-complete component I find that the
      Ajax requests are being fulfilled twice. This is also effecting the fileupload
      component.

      To reproduce the problem:

      • Deploy the latest bpcatalog's bp-auto-complete application
      • open the firefox error console
      • run the application and click on the city field and you will see that there is
        an error.
      • If you click on the error you will see:

      <items>
      <item>Aaron, KY 42601</item>
      <item>Aaronsburg, PA 16820</item>
      <item>Abac, GA 31794</item>
      <item>Abbeville, AL 36310</item>
      <item>Abbeville, GA 31001</item>
      <item>Abbeville, MS 38601</item>
      <item>Abbeville, SC 29620</item>
      <item>Abbot Village, ME 4406</item>
      <item>Abbotsford, WI 54405</item>
      <item>Abbott, TX 76621</item>
      </items>
      <items>
      <item>Aaron, KY 42601</item>
      <item>Aaronsburg, PA 16820</item>
      <item>Abac, GA 31794</item>
      <item>Abbeville, AL 36310</item>
      <item>Abbeville, GA 31001</item>
      <item>Abbeville, MS 38601</item>
      <item>Abbeville, SC 29620</item>
      <item>Abbot Village, ME 4406</item>
      <item>Abbotsford, WI 54405</item>
      <item>Abbott, TX 76621</item>
      </items>

      • Now stop the appserver domain
      • remove the SDK_INSTALL\lib\addons\jsf-extensions-dynamic-faces.jar
      • Start the appserver domain
      • Test the bp-auto-complete application again by clicking on the city.
      • You will see that the data shows as expected

      I think there is something the the jsf-extensions-dynamic-faces.jar that is
      serving the request in addition to shale-remoting.

        Activity

        Hide
        Rajiv Mordani added a comment -

        This issue is fixed by Ed.

        Show
        Rajiv Mordani added a comment - This issue is fixed by Ed.

          People

          • Assignee:
            jsf-extensions-issues
            Reporter:
            basler
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: