4 Replies Latest reply on Sep 21, 2011 11:32 AM by UbuntuPenguin

    Bindind data to multidimensional Array

    quebequiano Level 1

      I have a multidimensional Array (3D). I have some fields which I want to bind to some TextInputs:

       

       

      model.creditosConsumoModel.literaturaCredito[i][j][k]

      And here's a example of the data binding:

       

      text="{(model.creditosConsumoModel.literaturaCredito[4][12][0] as Apartado).texto}"

       

      The problem is: When I do a: model.creditosConsumoModel.literaturaCredito = new Array and I define the Array again with new data everything gets blank (all the text Inputs) and I loss the information.

       

      Resume: It only works the first time, but not the rest of the times.

       

      Thanks and regards!!!