<div>Hello,</div><div>How do I get the rendered display of a drop-down select list to show an updated selection from another session?</div><div><br></div><div>Here is the scenario: I have a domain object with an attribute displayed in a drop-down list.  Some other session updates the attribute.  I refresh my display, but the rendered selection does not change.  Using Firebug, the generated html shows the updated selection.  This may be basic HTML knowledge, but should the displayed value not update to show the changed &#39;selected&#39; option?  Or is the value intended to be set only on the initial page display and then only by a user action?</div>
<div><br></div><div>Here is an example.  I have a demo Seaside component with a class variable #testStateListSelection which is selected to &#39;one&#39; in a Seaside session.  If I change the value to &#39;three&#39;  in another Seaside session, the displayed value stays as &#39;one&#39; in the original session after rendering again, even though the &quot;selected&quot; in the generated HTML shows &quot;three&quot;.</div>
<div><br></div><div>renderSelectionListOn: html</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>html form: [</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>html select </div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>list: #(&#39;one&#39; &#39;two&#39; &#39;three&#39; &#39;four&#39; &#39;five&#39;); </div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>selected: self class testStateListSelection; </div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>callback: [:value | self class testStateListSelection: value].</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>html break.</div><div>
<span class="Apple-tab-span" style="white-space:pre">                </span>html submitButton</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>callback: [Transcript cr; show: self class testStateListSelection];</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>with: &#39;Save&#39;]</div><div><br></div><div>...the displayed value shows &#39;one&#39;, even though the HTML is...</div><div><br></div><div>&lt;select name=&quot;1&quot;&gt;</div>
<div>  &lt;option value=&quot;1&quot;&gt;one&lt;/option&gt;</div><div>  &lt;option value=&quot;2&quot;&gt;two&lt;/option&gt;</div><div>  &lt;option value=&quot;3&quot; selected=&quot;selected&quot;&gt;three&lt;/option&gt;</div>
<div>  &lt;option value=&quot;4&quot;&gt;four&lt;/option&gt;</div><div>  &lt;option value=&quot;5&quot;&gt;five&lt;/option&gt;</div><div>&lt;/select&gt;&lt;br&gt;</div><div><br></div><div>How do I get the drop-down selected value to show &#39;three&#39;? </div>
<div><br></div><div>BTW: all I know about HTML &amp; browser behaviour I&#39;ve learned from coding Seaside, so I may have a skewed perspective ;-)  </div><div><br></div><div>Thanks for any help,</div><div>Bob Nemec</div>
<div><br></div>