2 Replies Latest reply on Jul 26, 2007 2:10 AM by Sander Mak

    [Bug?] noSelectionLabel, <s:selectItems>, equals()

    ilhami visne Newbie

      Hi,

      After i added noSelecteionLabel to my <s:selectItems>, i got a NullPointerException in my entity's equals method, because the parameter was null. if noSelectionLabel is selected, the equals method of the entity is called and because "Please select ..." doesn't exists, it sent as null object.

      My suggestion: if noSelectionLabel is selected, then we don't need to call equals() method anymore. Am i right?