2 Replies Latest reply on Sep 18, 2006 12:44 PM by gavin.king

    Little doc bug with dataTable annotations

    eekboom

      Seam reference:


      10.9 Annotations for use with JSF dataTable
      They appear on attributes.

      @DataModel - exposes an attribute of type List, Map, Set or Object[]


      Annotation sources:

      Annotations targets are both Fields and Methods

      @DataModel javadoc says it only applies to Lists


      The @DataModel annotations source should be updated to specify that it can be applied to List, Map, Set or Object[].

      The reference should be updated to specify that
      @DataModel can occur at either field or getter.
      @DataModelSelection and @DataModelSelectionIndex can occur at either field or setter.