4 Replies Latest reply on May 30, 2011 8:15 AM by bcn

    several problems with a4j:status: stopText, onstop

    bcn

      RichFaces 4

      Inside a h:form I have

       


      <a4j:commandButton action="#{loginBean.resetPassword}"

      value="submit" />

      <a4j:status  stopText="Email sent" onstop="alert('hi'); return false;">

      <f:facet name="start">

      <h:graphicImage value="/images/wait.gif"/>


      </f:facet>

      </a4j:status>

       

      1. The stop text is shown already on page (re)load.

      2. The onstop script is never executed (onstart neither).

      Adding name, status cross reference didn't help.

      Both cases are not demonstrated in the show case.

       

      The image is shown correctly during execution.

       

      Thanks