[jboss-user] [JBoss Seam] - Re: Domain design with EJB3 and Seam

petemuir do-not-reply at jboss.com
Thu Apr 12 11:58:40 EDT 2007


"c_inconnu" wrote : 1) with a protected User constructor and no getPassword() at all

As the EJB3 spec allows entities with protected constructor, then Seam should do too.  Can you file a JIRA issue for this?

anonymous wrote : 2) with a public User constructor and no or protected getPassword()
  | 
  |   | 17:27:56,906 ERROR [STDERR] 12 avr. 2007 17:27:56 com.sun.facelets.FaceletViewHandler handleRenderException
  |   | GRAVE: Error Rendering View[/register.xhtml]
  |   | javax.el.PropertyNotFoundException: Bean: com.thales.imp.server.model.user.ImpUser, property: password

Looks like you have #{user.password} somewhere... If you have a UIInput component with a valuebinding onto a property then it needs both public getters and setters.  Post your JSF if your unsure on this.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036777#4036777

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036777



More information about the jboss-user mailing list