1 Reply Latest reply on May 25, 2007 4:45 PM by hstang

    How to handle a non-Seam bean on the UI?

    vwvbc

      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.