2 Replies Latest reply on Sep 10, 2010 6:06 AM by Ilya Shaikovsky

    how rerender a <a4j:mediaOutput>

    lotfi Rhouma Newbie

      <h:form>
      <table align="center" width="700px"> <tr><td>

       

      <rich:comboBox value="#{reportingBean.state}" valueChangeListener="#{reportingBean.selectionChanged}">
      <f:selectItems  value="#{reportingBean.devicesList}"/>
              <a4j:support event="onchange" reRender="do" />

       


      </rich:comboBox>
      </td>
      </tr>
      <tr>
      <td>
      <rich:panel style="width:700px; align:center;"  id="do">

       

      <a4j:mediaOutput element="img"
                       cacheable="false"
                       session="true"
                       createContent="#{reportingBean.generateChartReunionByMonth}"
                       mimeType="image/jpeg" />
      </rich:panel>
      </td></tr>
      </table>

       

      </h:form>h:form>