title: preselected option in struts2 (freemarker)
body: <p>I cannot make my freemarker struts2 select tag to show the default value for the object related list of options.</p>
  
  <p>In my action I have:</p>
  
  <pre><code>private List&lt;CodeLabel&gt; modifRoomTypeOpt; 
  </code></pre>
  
  <p>inside I have objects CodeLabel with values like S:Single, D:Double,...</p>
  
  <pre><code>&lt;@s.select id="123123"
    name="roomModif[2].type"
    value="${modifiedRoom.type}"
    list="modifRoomTypeOpt" listKey="code" listValue="label"/&gt;
  </code></pre>
  
  <p>In the generated html, i can see options with values S,D,T,... and labels Single, Double,...  so iteration over my CodeLabel object was done. But in my select, 1st option is always preselected. I checked value of ${modifiedRoom.type} and its 'D'.
  Why option with value D is not preselected?</p>