[jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly

petemuir do-not-reply at jboss.com
Tue Jul 18 05:50:48 EDT 2006

anonymous wrote : public ClassE getClassEInst() {
  |   | 	return classEInst;
  |   | }
  | <h:inputText id="classEInst" value="#{classAInst.classEInst}" />

An inputText takes a value of type String, or, a value that has been converted to/from String NOT an embeddable EJB3 bean.  So, either reference specific fields on the embeddable object:

<h:inputText id="classEInst" value="#{classAInst.classEInst.classEVar}" /

or, as Gavin said, provide a converter for ClassE to be set via a input string.

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

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

More information about the jboss-user mailing list