[jboss-user] [JBoss Seam] - Accessing objects into objects

vwiencek do-not-reply at jboss.com
Thu Aug 16 08:10:59 EDT 2007


Hi, 

I'm quite new to Seam, and I want to realize a simple thing. 

I have a web form referencing a User. My User object has many properties, but also a reference to an Address Object.

My Object User has a @Name annotation. How can I access the Address field into my User object ?

I've tried #{user.address.street} but it doesn't work ; I get the following error 
Caused by javax.el.PropertyNotFoundException with message: "/register.xhtml @69,61 value="#{user.address.street}": Target Unreachable, 'address' returned null on 'com.social.

Thanks
Vincent

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

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



More information about the jboss-user mailing list