0 Replies Latest reply on Sep 4, 2010 5:20 AM by babazs

    Unsuccessful form reRender with using of a4j:support (after onblur is fired)

    babazs

      Hy!

       

      I'd like to reRender a form with an a4j:support+h:inputText, with 'caseA' but it doesn't work after a4j:support onblur event fired (with byPassUpdates="true"). When I press the 'initializeInputTextField' button in 'case A'  the h:inputText is not reRendered, but with 'case' B it always.

      Why?

       

       

      Thank you for your help!

       

      case A:

      <h:form id="myForm"  >
              <a4j:queue ignoreDupResponses="true"/>       
              <a4j:commandButton value="initializeInputTextField" reRender="myForm" ajaxSingle="true" immediate="true" id="something"/>
              <h:inputText  value="#{bean.String}" >
                       <a4j:support  event="onblur" ajaxSingle="true" limitToList="true" bypassUpdates="true" reRender="something"/>
                      <s:validate />               
               </h:inputText>         

      </h:form>

       

       

      case B:

      <h:form id="myForm"  >
               <a4j:queue ignoreDupResponses="true"/>       
               <a4j:commandButton value="initializeInputTextField" reRender="myForm" ajaxSingle="true" immediate="true"/>
               <h:inputText  value="#{bean.String}" >
                
                       <s:validate />               
                </h:inputText>         

      </h:form>