[ https://issues.apache.org/jira/browse/MYFACES-3412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13159816#comment-13159816 ]
Leonardo Uribe commented on MYFACES-3412: ----------------------------------------- Attached proposed patch for this issue. It considers ajax request and resolve contentType correctly in such cases. Adds a web config param: org.apache.myfaces.DEFAULT_RESPONSE_WRITER_CONTENT_TYPE_MODE to define the default writer content type mode. I tried with the example provided and it works well. If no objections I'll commit this patch very soon. > updated AJAX values sometimes delete other elements > --------------------------------------------------- > > Key: MYFACES-3412 > URL: https://issues.apache.org/jira/browse/MYFACES-3412 > Project: MyFaces Core > Issue Type: Bug > Affects Versions: 2.0.10, 2.1.4 > Reporter: Mark Struberg > Assignee: Werner Punz > Attachments: MYFACES-3412-1.patch, ajaxbug.zip > > > The attached examples shows a problem I face after updating to the latest > 2.0.10/11 and 2.1.4/5 MyFaces versions. > I have 2 primefaces date pickers inside a h:panelGroup. Both date pickers > create ajax requests and refresh their values. If you click one of them (both > update the whole panelGroup), the 2nd date picker disapears. > This might have something to do with the AJAX js rework? > I can easily work around this issue, but I'm not sure which other problems > might arise as well, thus we better fix this -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira