Thank you for the hint. To Continent.java, I added

  | public boolean equals(Object obj) {
  |   if(obj != null) {
  |      return (this.name == ((Continent)obj).getName());
  |   }
  |   else return false;
  | }
  | 
  | public int hashCode() {
  |   return this.name.hashCode();
  | }
  | 
and it works! 

To get the continent set and the country rerenderd with invalid input elsewhere 
- e.g., empty "Roles" - I had to surround the continent block with <a:region>. 

Maybe an extended Seam example for this functionality could be useful for other 
users.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4121319
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to