Indexed properties and DynaActionForm

2004-08-12 Thread Jaakko Rytinki
Could someone explain why the following does not work: - - - - Form bean: - - - - Action Mapping: - - - - Prepopulated form: - - - - Action: DynaActionForm dynaForm = (DynaActionForm) myForm; List myList = (List) dynaForm.get("values"); The form shows up fin

RE: Indexed properties and DynaActionForm

2004-08-16 Thread Jaakko Rytinki
-Original Message- From: Jim Barrows [mailto:[EMAIL PROTECTED] Sent: 12. elokuuta 2004 18:48 To: Struts Users Mailing List Subject: RE: Indexed properties and DynaActionForm > -Original Message- > From: Jaakko Rytinki [mailto:[EMAIL PROTECTED] > Sent: Thursday,

problems with onclick=submit()

2004-04-23 Thread Jaakko Rytinki
Anyone else had problems with Error page 500, because such paths are not visible and/or usable for normal user - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: problems with onclick=submit()

2004-04-23 Thread Jaakko Rytinki
t: RE: problems with onclick=submit() have you tried href="javascript:void(0)"? this is an html issue - not struts. -- Voytek Jarnot Quantum materiae materietur marmota monax si marmota monax materiam possit materiari? > -----Original Message- > From: Jaakko Rytinki [mai

Struts, helper classes and POs

2005-02-18 Thread Jaakko Rytinki
cture, but because I'm not that familiar with MVC concept I decided it's better to ask than regret. com.myCompany.myApp.module role.useCase.actions role.useCase.logic role.useCase.presentationobjects Jaakko Rytinki - To

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

RE: Multibox & DynaActionForm

2004-12-09 Thread Jaakko Rytinki
ne which companies have been selected by comparing the company id against the selected company id. If "allCompanies" does not change per user, you may want to place that in the ServletContext on application startup to avoid the database hit everytime that action is executed. robert &g