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

    JSTL forEach cannot access DataModel annotated property

    v c Newbie

      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!