Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3544

client side ajax error when render a primefaces datatable with f:ajax

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.7
    • Fix Version/s: 2.0.14, 2.1.8
    • Component/s: JSR-314
    • Labels:
      None
    • Environment:
      tomcat 7, primefaces 3.2

      Description

      The following error occurs if a primefaces datatable is rendered by f:ajax.

      Error Message: fragment is null

      --------------------------------------------------------
      Error Name: clientError
      Server error name: TypeError

      --------------------------------------------------------
      Note, this message is only sent, because project stage is development and no other error listeners are registered.

      If an element outside of the table (e.g. the form) is rendered by f:ajax then it works.

      I will attach a small example.

      1.) Start it with e.g. tomcat 7 and VM option = -Dfaces.PROJECT_STAGE=Development
      2.) call page.xhtml
      3.) press the "update" button

        Attachments

        1. example.zip
          5 kB
          Marcus Büttner

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mbuett Marcus Büttner
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: