myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (MYFACES-2859) Replacing elements for ajax response changes element order
Date Thu, 05 Aug 2010 10:21:18 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-2859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Werner Punz updated MYFACES-2859:
---------------------------------

           Status: Resolved  (was: Patch Available)
    Fix Version/s: 2.0.2-SNAPSHOT
       Resolution: Fixed

patch is applied thanks for sending it in


> Replacing elements for ajax response changes element order
> ----------------------------------------------------------
>
>                 Key: MYFACES-2859
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2859
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.1, 2.0.2-SNAPSHOT
>            Reporter: Michael Kurz
>             Fix For: 2.0.2-SNAPSHOT
>
>         Attachments: MYFACES-2859-test-webapp.zip, MYFACES-2859.patch
>
>
> In my application processing the ajax response for a ajax request changes the order of
the elements. I have an html input element with siblings in a div that is replaced with a
script and the new input element in the ajax response. The problem is, that the new input
element is inserted after the siblings of the original element thus reversing the order of
the elements
> I think the problem is in the replaceElements function in _Dom.js. There, oldNode.nextSibling
always returns null.
> I created a patch that solves this issue, but I am not sure if there are any side effects.
Master of Ajax (Werner) please have a look.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message