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

JsValueChangeListener has a JavaScript error if the index chnages on a datatable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.2
    • None

    Description

      If you use the JsValueChangeListener on a DataTable and you delete a row then the JavaScript has obsolete index id on the JavaScript items because the method doesn't recognizes if the index changed and it has still the old value.

      I improved the JsValueChangeListener and render now the java script only for each parent component. I don't use the indexOf method to search for the javascript name on the onchange property.

      Please commit the attached bugfix.

      Attachments

        1. MYFACES-848.patch
          1 kB
          Paul Klaer

        Activity

          People

            Unassigned Unassigned
            pklaer Paul Klaer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: