-
1. Re: Problem with IE7 after Windows update KB947864
ilya_shaikovsky Apr 10, 2008 11:25 AM (in response to alespio)I have this update installed and all works fine for me.
-
2. Re: Problem with IE7 after Windows update KB947864
mtdev Apr 10, 2008 2:26 PM (in response to alespio)Our customers are having the same issues with IE7 after the security patch was applied.
We are using the following versions:
Ajax 4 JSF and Myfaces – ajax4jsf-1.1.1-SNAPSHOT.jar, myfaces-api-1.1.5.jar, myfaces-impl-1.1.5.jar
Richfaces – richfaces-3.0.1-SNAPSHOT.jar
Tomahawk -- tomahawk-1.1.5.jar
Does anyone know the solution to this problem other than uninstalling the security patch for IE7? -
3. Re: Problem with IE7 after Windows update KB947864
artmooney Apr 11, 2008 2:38 AM (in response to alespio)We have the same problem, about 50% of the application navigation does not work anymore. Almost all commandLinks from inside a table are broken. It's horror.
-
4. Re: Problem with IE7 after Windows update KB947864
artmooney Apr 11, 2008 3:41 AM (in response to alespio)But it seems to be patch KB947864
-
5. Re: Problem with IE7 after Windows update KB947864
bbldlodev Apr 11, 2008 11:43 AM (in response to alespio)Hi!
We have the same problem in IE7 and 6.
The new content is returned from server but it isn't aplied to the page by richfaces' javascript.
The problem is there only for forward, but it works for redirect.
Also I see js error. It says about error on line 84.
I have richfaces 3.1.4GA. -
6. Re: Problem with IE7 after Windows update KB947864
bbldlodev Apr 11, 2008 1:44 PM (in response to alespio)I found that the cause of error in my case:
A4J.AJAX.replacePage = function(req) {
...
window.setTimeout(function() {
window.document.open(req.getContentType(), true); // throws an exception
...
} catch(e) {
...
var node = window.document.importNode(docNodes, true); // returns undefined
window.document.documentElement.appendChild(node); // causes error
...
}, 30); -
7. Re: Problem with IE7 after Windows update KB947864
sergeysmirnov Apr 11, 2008 5:54 PM (in response to alespio)BbldloDev, could you show the code snippet of the page with ajax command component on it. It looks like you use the feature not like it is highly recommended.
-
8. Re: Problem with IE7 after Windows update KB947864
bbldlodev Apr 11, 2008 7:25 PM (in response to alespio)To reproduce the error I created two pages, then I clicked Test btn on test1.jsf, then I see js error and staying on the test1 page.
test1.jsp<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j" %> <html><head><title>test1</title></head><body> <f:view> <h:form> <a4j:commandButton action="#{testBean.test}" value="Test"/> </h:form> </f:view> </body></html>
test2.jsp<%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <html><head><title>test2</title></head><body> <f:view> <h:outputText value="Ok"/> </f:view> </body></html>
request scope testBeanpublic class TestBean { public String test() { return "fromt1tot2"; } }
Navigation<navigation-rule> <from-view-id>/test1.jsp</from-view-id> <navigation-case> <from-outcome>fromt1tot2</from-outcome> <to-view-id>/test2.jsp</to-view-id> </navigation-case> </navigation-rule>
-
9. Re: Problem with IE7 after Windows update KB947864
sergeysmirnov Apr 11, 2008 7:33 PM (in response to alespio)Yes. This is what I am speaking about. It is highly recommended to have a for the navigation rule what is used to navigate after the Ajax request.
-
10. Re: Problem with IE7 after Windows update KB947864
bbldlodev Apr 11, 2008 8:08 PM (in response to alespio)Could you describe how to change the code snippet to make it work?
And why that code works in FF, but doen't work in IE? -
11. Re: Problem with IE7 after Windows update KB947864
sergeysmirnov Apr 11, 2008 8:21 PM (in response to alespio)"BbldloDev" wrote:
Could you describe how to change the code snippet to make it work?
And why that code works in FF, but doen't work in IE?<navigation-rule> <from-view-id>/test1.jsp</from-view-id> <navigation-case> <from-outcome>fromt1tot2</from-outcome> <to-view-id>/test2.jsp</to-view-id> <redirect /> </navigation-case> </navigation-rule>
-
12. Re: Problem with IE7 after Windows update KB947864
bbldlodev Apr 12, 2008 7:19 AM (in response to alespio)Dude, redirect is not the same as forward.
I lost all the request params and attributes which I was going to use on the next page.
Also you don't answer why the code is working in FF, also it was working in IE before windows update.
I was looking for notes about "" is required to make navigation working, but I found only implisit note in the richfaces-reference.pdfMake sure, you define <redirect/> option for the navigation rule to avoid memory leaks.
[p.26]
So, I thought we have to be honest and sayMake sure, you define <redirect/> option for the navigation rule, otherwise navigation doesn't work.