0 Replies Latest reply on Nov 24, 2009 8:46 PM by vc5

    JSTL forEach cannot access DataModel annotated property

    vc5

      hihi all,


      i'm getting the following error:


      <c:forEach items="#{myListItems}"> Must evaluate to a Collection, Map, Array, or null.



      my bean property is the following:


      @DataModel(scope = PAGE)
      private List<Item> myListItems;



      does anyone know why this error happens and how to fix it?  thanks in advance!


      -v