0 Replies Latest reply on Jan 11, 2010 12:18 PM by Gustavo Ludwig

    how can I dinamically create valueChangeListeners?

    Gustavo Ludwig Newbie

      hi all,

       

      I have a <rich:dataTable /> element that has a variable cell number - both rows and columns are variable by default.

       

      On each cell there's a <rich:inplaceSelect /> element that can assume one of 5 values: {0, 2.5, 5, 7.5, 10}.

       

      Also, on each row I need a sum of all the values for the given row. I was considering creating a valueChangeListener method for each cell, so my backing bean could do the math I need - sum of all the row's values and an average value for the given row.

       

      Any ideas? Thanks in advance!

       

      gtludwig