- 
        1. Re: retaining values in <s:selectItemsnickarls May 29, 2008 8:56 AM (in response to infinity2heaven)Tried overloading the equals() and hashCode() of your entity and using a SMPC? The selected value is checked against the objects in the list based on the mentioned methods. 
- 
        2. Re: retaining values in <s:selectItemsinfinity2heaven May 29, 2008 5:15 PM (in response to infinity2heaven)I'm using a SMPC and have hashcode/equals implemented on the the type. I still have the problem. 
- 
        3. Re: retaining values in <s:selectItemsjavichi_fer May 29, 2008 9:10 PM (in response to infinity2heaven)Can you try the following? @In(required=false) @Out(required=false, scope=ScopeType.SESSION, value="selectedFof") 
- 
        4. Re: retaining values in <s:selectItemsinfinity2heaven May 30, 2008 8:29 PM (in response to infinity2heaven)That doesn't make any difference (and I tried) as the default name of the annotated field is selectedFof .It's frustrating because the value is printed fine but just not selecting it 
- 
        5. Re: retaining values in <s:selectItemsvladimir.kovalyuk May 31, 2008 8:09 AM (in response to infinity2heaven)Make sure that equals() works. 
- 
        6. Re: retaining values in <s:selectItemsinfinity2heaven Jun 1, 2008 9:50 PM (in response to infinity2heaven)As mentioned earlier, I have overriden hashcode and equals with all the properties, but the selection never retains. As an exercise, is there a property in s:selectItems that I can manually choose to select a value? something like <s:selectItems value="#{fofsQuery.resultList}" var="fof" label="#{fof.name} selectedValue=#{selectedValue}"/>
 
 I just want to see if the basic selection works first 
 
     
     
    