[jboss-user] [JBoss Seam] - MyComponents becomes ArrayList<E> in getInstance()
emsa
do-not-reply at jboss.com
Mon Jul 2 18:14:51 EDT 2007
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?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059757#4059757
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059757
More information about the jboss-user
mailing list