10 Replies Latest reply on Apr 13, 2010 8:13 AM by Nicklas Karlsson

    Factory with @Out in Weld

    Uros Majeric Newbie

      I would like to implement such kind of behaviour in weld:

      private List<Objects> myList;
      public void initMyList() {
        myList = ...;

      my solution looks like this:

      public List<Object> initMyList() {
        return someNewList();

      My problem now is: when I call some method on bean which contains those methods and in it I call initMyList(); my list on page is not populated.

      Any idea?

      thans for help.