0 Replies Latest reply on Jul 2, 2007 6:14 PM by emsa

    MyComponents becomes ArrayList<E> in getInstance()

    emsa

      I have a Component defined like:

      @Name("myList")
      @Scope(ScopeType.CONVERSATION)
      @Conversational
      public class MyList extends LinkedList<My> {
      }
      


      when using this on a page and posting back from the same page for the second time, i end up with an error:

      value of context variable is not an instance of the component bound to the context variable: myList

      thrown on line 1768 in Component.java (Seam2 Beta)

      the problem is that 'result' in the method is ArrayList and not MyList.

      is it not possible to extend LinkedList like this?