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?
put this in your component.xml
<component name="model" class="a.b.package.YourModelClass"/>