[jboss-user] [JBoss Seam] - How to handle a non-Seam bean on the UI?
vwu98034
do-not-reply at jboss.com
Fri May 25 15:18:58 EDT 2007
Hi,
I have a large model class with a lot of fields which is not in the Seam scope. Since the most of fields are filled by the users, I try to have a corresponded form on the UI layer in the Seam scope. It doesn't seem that I can use the model class in the Seam scope. Otherwise, I get the following exception:
Exception getting value of property theModel of base of type : com.abc.web.MyForm_$$_javassist_93
...
Caused by: javax.faces.el.EvaluationException: Bean: com.abc.web.MyForm_$$_javassist_93, property:
...
I could copy all attributes of the model class into the action class. Is any better approach?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048776#4048776
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048776
More information about the jboss-user
mailing list