3 Replies Latest reply on Sep 22, 2008 9:25 AM by Nick Belaevski

    Highlighting output component on value changed from bacing b

    Tihomir Smudj Newbie

      Hi all,
      what I would like to do is give a highlight effect to column in rich:dataTable or outputtext or outputlabel when the data in that component is changed from backing bean... What I'm trying now is something like this but it works only with onclick or onmouseover...

      <rich:dataTable id="tablica" var="rowData" value="#{testTicker.tickers}"
      captionClass="caption" width="500" align="center">
      ...
      <h:column>
      <h:outputText value="#{rowData.price_old}" id="max_in">
      <rich:effect event="onchange" rendered="true" for="max_in"
      type="Highlight" params="duration:1.8" />
      </h:outputText>
      </h:column>
      ...
      </rich:dataTable>

      any suggestions???
      thnx in advance...