2 Replies Latest reply on Oct 5, 2009 8:02 PM by Travers Naran

    Ajax form submit not working in some IE7

    Travers Naran Newbie

      I have a site that's being used by a around 100 people in about 30 different places (all outside my company). On the login page, we have an Ajax Form defined like so:

      <a4j:form id="loginForm" ajaxSubmit="true" reRender="loginMessage">

      The actual command button is defined like so:

      <h:commandButton id="loginButton" styleClass="w60" value="Login" action="#{userBean.loginAction}" />

      The loginAction() method returns a string which JSF uses to navigate to our home page ("OK") or to a password change page ("MYPROFILE") depending on if the user needs to update their password or not.

      All through development, this code worked so well we never though about it. But now, in production, some users are able to login and go to their home page, while others are left at the login page.

      The majority of problems are with IE7 users, but we have had a couple IE6 users report the issue. IE8 seems to work fine.

      If the user enters a bad password, everyone can see the returned message, so I have reason to believe the AJAX call is successful and returning.

      Does anyone have any suggestions on where I should start looking?