4 Replies Latest reply on May 24, 2007 12:02 PM by Alex Medina

    Trouble with a4j:region, a4j:status and bean-property

    Alex Medina Newbie


      i got a little problem with the a4j:status:

       <h:outputText value="Please enter your enzymes:" />
       <br />
       <h:inputText value="#{pathwayBean.enzymes}" id="enzyme" />
       <br />
       <a4j:region id="sender">
       <a4j:commandButton id="submit" reRender="path"
       action="#{pathwayBean.computePaths}" value="Submit" />
       <a4j:status startText=" Performing Request" stopText="" for="sender">
       <a4j:outputPanel id="path">
       <rich:dataTable var="data" value="#{pathwayBean.pathways}"
       <!--Set of columns and header/footer facets-->
       <f:facet name="header">
       <h:outputText value="Pathways" />
       <h:outputText value="#{data.text}" />

      The computePaths()-Method in my bean uses the property enzymes as input for a DB request, the result is shown in the dataTable. The Problem is, that the enzymes property isn't set in the bean. I get an empty string, no matter what i put in the text-field.
      Funnily enough, everything works fine, when i leave out the a4j:region and a4j:status tags.

      Can you help me?