0 Replies Latest reply on Sep 25, 2007 12:46 PM by Misio Pysio

    rich:effect on reRender

    Misio Pysio Newbie


      i'm trying to create an effect, which should fire when i re render an area, containing the div.
      Is there any way to achieve that?
      I've got code like this:
      <h:panelGrid id="messages">
      <h:panelGrid styleClass="messages_box" columns="2" cellpadding="2" cellspacing="0" width="100%" columnClasses="buttonCol, leftAlignCol" rowClasses="vertAlignTop" >
      <rich:effect name="showDiv" for="messages_box" type="Appear" />
      <h:graphicImage value="#{MessageHandler.messageImage}" style="float: left; vertical-align: top;" />
      <h:panelGrid columns="1" cellpadding="2" cellspacing="2" columnClasses="leftAlignCol" rowClasses="vertAlignTop" width="100%">
      <h:messages errorClass="errorMessage" infoClass="infoMessage" layout="table" globalOnly="false" showDetail="false" showSummary="true"/>

      and it doesn't work.
      I've tried putting rich:effect outside the panelGrid and put showDiv() inside, still no go.

      Probably i'm missing something from the richfaces demo, but i found nothing usefull there for my case.

      Best regards