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

    MyComponents becomes ArrayList<E> in getInstance()

    Magnus Sandberg Novice

      I have a Component defined like:

      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?