0 Replies Latest reply on Aug 22, 2007 8:57 AM by au lai seong

    a4j:suppport event="onblur" causes getter not be called afte

    au lai seong Newbie

      1)The getAge() in managed bean will be always call after RENDER_RESPONSE phase but after i onblur the age's inputText, the getAge() will not be called when i click the button in other form. Why?

      <h:form id="ajaxRegion"
      <h:inputText id="age" ...value="#{jBean.age}"
      <a4j:suppport event="onblur"
      .....
      <a4j:commandButton type="submit" action="#{jBean.save}" value="Save" reRender="messages,operationTable,ajaxRegion" />

      </h:form>

      <h:form>
      <a4j:commandButton id="changeValue" type="submit" value="New" action="#{jBean.newOp}" reRender="messages,ajaxRegion" ajaxSingle="true" styleClass="button" immediate="true"/>
      </h:form>

      <h:form
      <h:dataTable>
      ...
      <a4j:commandButton reRender="messages,ajaxRegion"
      ...

      2)The getAge() totally will not be called if i put the changeValue button to ajaxRegion form and click the button inside the dataTable.Why? Actually i want to display the selected row in the ajaxRegion form.