[jboss-user] [JBoss Seam] - Can use Set<> for @OneToMany property
liudan2005
do-not-reply at jboss.com
Wed Jan 24 12:56:15 EST 2007
The following code works fine:
| public List<Review> getReviews() {
| return reviews;
| }
|
| public void setReviews(List<Review> reviews) {
| this.reviews = reviews;
| }
|
in my jsf page, I have:
| <h:outputText value="#{review.title}" />
|
However, if I change List to Set, it says can't find property #{review.title}. I don't understand why this happens. Has anyone seeing the same problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4005919#4005919
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005919
More information about the jboss-user
mailing list