struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rubbinio <>
Subject Selection of s:optgroup on page load
Date Tue, 23 Jun 2009 22:58:14 GMT


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" 
	<s:iterator var="customers" value="soCustomerFiltration">
		<s:optgroup label="%{key}" list="%{value}" listKey="customerID"

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message