1 Reply Latest reply on Dec 10, 2012 7:21 AM by raghav1212

    Call a function on fragment load


      I have a fragment with a table.
      the value of this table comes from a list in the bean.
      I need to fill the list when the fragment is loaded.

      I was trying to do that as I saw here:
      but I see that it's filling the list on load and then the constructor of the bean is called again,
      so the list get a new instance and in fact its empty again.

      Do you know why it happens?
      Or is there any other way to fill a list in the bean when the fragment is loaded?