9 Replies Latest reply on May 7, 2008 8:48 AM by Ilya Shaikovsky

    IE 6 focus problem

    Rainer Widmann Newbie

      Hi,

      I use focus of a4j:commandButton to set focus on the field which have an error by rerender.

      <a4j:commandButton value="#{bean.value}"
       id="submitButton"
       type="submit"
       reRender="main_content"
       ajaxSingle="true"
       focus="#{bean.getErrorField}"
       action="#{bean.submit}">
       </a4j:commandButton>