[
https://issues.jboss.org/browse/RF-13598?page=com.atlassian.jira.plugin.s...
]
Brian Leathem updated RF-13598:
-------------------------------
Description:
I recently tried to update the JSF to 2.1.28 with using Richfaces 4.2.3.Final or Richfaces
4.3.5.Final, and I had issue with AJAX calls. not sure if this is Richfaces issue or JSF
issue.
My setup is JSF2.1.28, Richfaces 4.2.3.Final (or 4.3.5.Final), WELD 2.1.2.Final, Tomcat
7.0.50, on the client is IE browser.
The ajax call will stuck, I looked into the JSF.js, seems it added new method from
2.1.28,
{code}
var getEncodedUrlElement = function getEncodedUrlElement(form) {
var encodedUrlElement = form['javax.faces.encodedURL'];
if (encodedUrlElement) {
return encodedUrlElement;
} else {
var formElements = form.elements;
for (var i = 0, length = formElements.length; i < length; i++) {
var formElement = formElements[i];
if (formElement.name.indexOf('javax.faces.encodedURL') >=
0) {
return formElement;
}
}
}
return undefined;
};
{code}
In IE, form['javax.faces.encodedURL'] is undefined, and the " if
(formElement.name.indexOf('javax.faces.encodedURL') >= 0) {" will throw
exception before it return. this cause the Browser miss behavior,
Just wondering is there anybody has the same issue or is Richface 4.x support this version
of JSF?
was:
See the
https://community.jboss.org/thread/239391
Richfaces 4.3.5.Final ajax calls broke with JSF2.1.28
------------------------------------------------------
Key: RF-13598
URL:
https://issues.jboss.org/browse/RF-13598
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: compatibility
Affects Versions: 4.2.3.Final, 4.3.5
Environment: Tomcat 7.0.50, Richfaces 4.3.5.Final, JSF 2.1.28, client side: IE8+
Reporter: Wang Liyu
Assignee: Brian Leathem
Priority: Critical
Fix For: 4.3.7
Original Estimate: 4 hours
Remaining Estimate: 4 hours
I recently tried to update the JSF to 2.1.28 with using Richfaces 4.2.3.Final or
Richfaces 4.3.5.Final, and I had issue with AJAX calls. not sure if this is Richfaces
issue or JSF issue.
My setup is JSF2.1.28, Richfaces 4.2.3.Final (or 4.3.5.Final), WELD 2.1.2.Final, Tomcat
7.0.50, on the client is IE browser.
The ajax call will stuck, I looked into the JSF.js, seems it added new method from
2.1.28,
{code}
var getEncodedUrlElement = function getEncodedUrlElement(form) {
var encodedUrlElement = form['javax.faces.encodedURL'];
if (encodedUrlElement) {
return encodedUrlElement;
} else {
var formElements = form.elements;
for (var i = 0, length = formElements.length; i < length; i++) {
var formElement = formElements[i];
if (formElement.name.indexOf('javax.faces.encodedURL') >=
0) {
return formElement;
}
}
}
return undefined;
};
{code}
In IE, form['javax.faces.encodedURL'] is undefined, and the " if
(formElement.name.indexOf('javax.faces.encodedURL') >= 0) {" will throw
exception before it return. this cause the Browser miss behavior,
Just wondering is there anybody has the same issue or is Richface 4.x support this
version of JSF?
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)