[jboss-user] [JBoss Seam] - @Out and @Datamodel combination error
supernovasoftware.com
do-not-reply at jboss.com
Wed Apr 11 23:33:06 EDT 2007
I had the following in a SFSB that worked until I upgraded to Seam 1.2.1.
| @Out(scope = ScopeType.CONVERSATION, required = false)
| @DataModel(value="dosRecordPend", scope=ScopeType.UNSPECIFIED)
| private List<Map> dosRecordPend;
|
This was obviously an error on my part, but caused an runtime exception.
java.lang.ClassCastException: java.util.ArrayList cannot be cast to javax.faces.model.DataModel
Is there any reason to use @Out and @Datamodel in combination? If not, should this not throw and deployment error such as when you do not use
scope=ScopeType.UNSPECIFIED or scope=ScopeType.Page
with @Datamodel?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036598#4036598
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036598
More information about the jboss-user
mailing list