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

    Call a function on fragment load

    974835
      Hi,

      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:
      https://kr.forums.oracle.com/forums/thread.jspa?threadID=2386966
      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?

      Thanks!