[ http://issues.apache.org/jira/browse/MYFACES-848?page=all ]
     
Bruno Aranda closed MYFACES-848:
--------------------------------

    Fix Version: 1.1.2
     Resolution: Fixed

Patch tested and applied to the SVN source code. Thanks to Paul Klaer!

> JsValueChangeListener has a JavaScript error if the index chnages on a 
> datatable
> --------------------------------------------------------------------------------
>
>          Key: MYFACES-848
>          URL: http://issues.apache.org/jira/browse/MYFACES-848
>      Project: MyFaces
>         Type: Bug
>     Reporter: Paul Klaer
>      Fix For: 1.1.2
>  Attachments: MYFACES-848.patch
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to