struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rubbinio <rsolo...@n-able.com>
Subject Re: s2 : checkbox and checkboxlist : dynamic lists
Date Fri, 11 Jan 2008 18:23:15 GMT

Actually you can do something like this

<s:checkbox name="selectedGroup" fieldValue="%{id}_%{nextCell.label}" />

And in the action class you can have:

private String[] selectedGroup;

Which will be populated back with what you have selected. It works fine in
our application. 
-- 
View this message in context: http://www.nabble.com/s2-%3A-checkbox-and-checkboxlist-%3A-dynamic-lists-tp14760993p14762264.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message