1 Reply Latest reply on Mar 27, 2009 10:27 AM by Benito Juarez

    how to pass collection (list) in the .xhtml file

    Devesh Gupta Newbie

      Hi Guys,


      My problem is I have to display the result(that is a collection) in the .xhtml page.


      what i did is I am calling a 2nd method from the 1 st method. like that


      @Stateful
      @Scope(ScopeType.CONVERSATION)
      public class ABCBean implements IABC
      {
        public String create()
        {
          orderView.pendingOrder();
        }
      }


      In the pendingOrder()method, i am running a query in that, that return the result as a collection(List). I have to display this collection in the .xhtml file. But how to pass this collection to .xhtml file that is the problem. Can you please help me.


      Regards,
      Devesh