12 Replies Latest reply on Apr 12, 2008 7:19 AM by bbldlodev

    Problem with IE7 after Windows update KB947864

      Hi all,
      i've noted many problem using IE7 after update KB947864.
      In detail don't works action click on datatable and tree navigation.
      Firefox and opera continues to work correctly.
      Uninstalling update and all works fine.

      Someone try that?


        • 1. Re: Problem with IE7 after Windows update KB947864
          ilya_shaikovsky

          I have this update installed and all works fine for me.

          • 2. Re: Problem with IE7 after Windows update KB947864
            mtdev

            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

              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

                But it seems to be patch KB947864

                • 5. Re: Problem with IE7 after Windows update KB947864
                  bbldlodev

                  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

                    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

                      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

                        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 testBean
                        public 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

                          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

                            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

                               

                              "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

                                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.pdf

                                Make sure, you define <redirect/> option for the navigation rule to avoid memory leaks.
                                [p.26]

                                So, I thought we have to be honest and say
                                Make sure, you define <redirect/> option for the navigation rule, otherwise navigation doesn't work.