[jboss-user] [JBoss Seam] - Re: [Bug?] noSelectionLabel, <s:selectItems>, equals()

matt.drees do-not-reply at jboss.com
Thu Jul 26 00:08:42 EDT 2007


If I remember right, the equals() method gets called by jsf - it has to make sure that the selected value is one of the options in s:selectItems, so it does a list.contains() call or something, which uses the equals() method.  I think you should just fix your equals method so that if it's passed null, you return false.

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

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



More information about the jboss-user mailing list