Hi,

i have the select below which uses s:optgroup to group my values. The
soCustomerFiltration is TreeMap<String, CustomObject[]>, while the
customerFilter is an String[].

All work well in terms of rendering except that once I select something and
press a button to update the page my selection is not persisted. I can see
the getCustomerFilter being called on the action and the values returned are
the correct id's but I can not understand why my values are not selected
anymore. Any help is appreciated. 

<s:select name="customerFilter"  id="customerFilterSo" list="#{}"
value="%{customerFilter}" size="8" multiple="true" cssClass="Label" 
theme="simple">
        <s:iterator var="customers" value="soCustomerFiltration">
                <s:optgroup label="%{key}" list="%{value}" listKey="customerID"
listValue="customerName"/>
        </s:iterator>
</s:select>

Thanks
Radu
-- 
View this message in context: 
http://www.nabble.com/Selection-of-s%3Aoptgroup-on-page-load-tp24175975p24175975.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to