----- Original Message ----- From: "Drew McAuliffe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 07, 2003 7:46 PM Subject: [OS-webwork] RE: Performance diff bw ww1 and ww2?
> which is about a tenfold increase in time. I'm torn because I need > performance but I also need something that ww2 has the ww1 doesn't, > which is the ability to parse multiple checkbox values into an array or > collection property on an action (if that can be done with ww1 I might > switch back but I've had no luck). > You can parse multiple checkbox values into an array in WW1. You could for example have a JSP like (I know you use Velocity but I'm not that good with it, but I think you can understand anyway): <ww:iterator value="groupList"> <tr><td> <input type="checkbox" name="grantGroupCodeList" value="<ww:property value="group_cd"/>" <ww:if test="hasGrantAccess==true"> checked</ww:if>/> </td></tr> </ww:iterator> And in the Action that handles the form I have the following: // Array of group_cd protected String[] _grantGroupCodeList = new String[0]; public void setGrantGroupCodeList(String[] groupCodeList) { _grantGroupCodeList = groupCodeList; } Does this do what you need? Best regards, Dick Zetterberg [EMAIL PROTECTED] ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork