[ http://issues.apache.org/jira/browse/MYFACES-848?page=all ]
Paul Klaer updated MYFACES-848:
-------------------------------
Attachment: MYFACES-848.patch
> 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
> 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