[jboss-user] [JBoss Seam] - Re: s:selectItems problems Seam 2 Beta1

2007-08-30 Thread [EMAIL PROTECTED]
What is departmentSectionId? Do you not need to use .equals on that as well? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079489#4079489 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079489

[jboss-user] [JBoss Seam] - Re: s:selectItems problems Seam 2 Beta1

2007-08-30 Thread smithbstl
Its a Long so I guess .equals would work but the method is failing on this condition if (!(object instanceof DepartmentSection)) return false; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079586#4079586 Reply to the post :

[jboss-user] [JBoss Seam] - Re: s:selectItems problems Seam 2 Beta1

2007-08-30 Thread [EMAIL PROTECTED]
What class is object? What's its hierachy? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079588#4079588 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079588 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: s:selectItems problems Seam 2 Beta1

2007-08-30 Thread smithbstl
It has no hierarchy, just an entity class that implements Serializable View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079609#4079609 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079609

[jboss-user] [JBoss Seam] - Re: s:selectItems problems Seam 2 Beta1

2007-08-30 Thread smithbstl
Ok in debugging further, it looks like object is null when the equals method is called. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079614#4079614 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079614

[jboss-user] [JBoss Seam] - Re: s:selectItems problems Seam 2 Beta1

2007-08-30 Thread smithbstl
Ok, it has something to do with department.departmentSectionList I replaced the middle select box to use a crud entity query instead (I removed the first box so the second is not filtered at all) Strangely it works with the entity query This DOES NOT WORK h:selectOneMenu

[jboss-user] [JBoss Seam] - Re: s:selectItems problems Seam 2 Beta1

2007-08-30 Thread smithbstl
Ok, I got it working. I was not outjecting the department or departmentSection entities which was a problem. I also had to rewrite the equals() method of DepartmentSection public boolean equals(Object other) { | if (other == null) { | return false; | } | if (other

[jboss-user] [JBoss Seam] - Re: s:selectItems problems Seam 2 Beta1

2007-08-29 Thread smithbstl
Ok it seems that my equals() method in DepartmentSection is failing which I am sure is the problem public boolean equals(Object object) { | | if (object == this) return true; | if (!(object instanceof DepartmentSection)) return false; |