[
https://jira.jboss.org/jira/browse/RF-3477?page=com.atlassian.jira.plugin...
]
Robert Raksi commented on RF-3477:
----------------------------------
Sorry for spamming, I know that this is not a forum but I did some digging.
I attached a simple test case (test.xhtml).
Scenario:
- execute jQuery("input.foo") in the firebug console, you get one match
- type something in the input field than hit tab, the input is rerendered
- execute jQuery("input.foo") again, you get zero match instead of one, this is
bad
The cause: the content type of the page is set to text/html but the response of the ajax
request is text/xml.
If I set the content type of the page to application/xhtml+xml everything works fine, but
in IE I get a download window.
Is there a way to set the content type of the ajax responses to text/html? Or this is not
a good idea?
The environment is the one mentioned in my previous comment.
jQuery: is getting broken on rerendering
----------------------------------------
Key: RF-3477
URL:
https://jira.jboss.org/jira/browse/RF-3477
Project: RichFaces
Issue Type: Bug
Components: component-misc, core
Affects Versions: 3.2.1
Environment: 3.2.1.CR5
jsp+myfaces+tomcat 6
Opera 9
Reporter: Tsikhon Kuprevich
Assignee: Nick Belaevski
Fix For: 4.0.0.BETA1
rerender the component
=> nothing works
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira