RE: Multibox & DynaActionForm

2004-12-09 Thread Jaakko Rytinki
("continue"); } -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: 9. joulukuuta 2004 17:13 To: Struts Users Mailing List Subject: RE: Multibox & DynaActionForm You will need to set the "selectedCompanies" in the ActionForm so that the can determi

RE: Multibox & DynaActionForm

2004-12-09 Thread Robert Taylor
ntext on application startup to avoid the database hit everytime that action is executed. robert > -Original Message- > From: Jaakko Rytinki [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 09, 2004 9:14 AM > To: Struts Users Mailing List > Subject: Multibox & DynaAct

Multibox & DynaActionForm

2004-12-09 Thread Jaakko Rytinki
How I can prepopulate a form containing a multibox when using DynaActionForms? The following code doesn't seem to work - it wont check any checkboxes (why?) --- Action which prepopulates the form: --- String[] companies = MyDBTools.getUser(userId).getCompanies(); ArrayList allCompanies = MyDBTool