RE: Using Javascript to change struts-generated forms

2008-03-24 Thread Allen, Daniel
broken, then? ~Dan [1]http://struts.apache.org/2.x/docs/how-do-we-upload-files.html -Original Message- From: Jeromy Evans [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2008 2:49 AM To: Struts Users Mailing List Subject: Re: Using Javascript to change struts-generated forms Yes

RE: Using Javascript to change struts-generated forms

2008-03-24 Thread Dave Newton
--- Allen, Daniel [EMAIL PROTECTED] wrote: I thought multiple parameters with the same name is how Struts did actions with array-typed properties. That's what's done on the File Uploads How-To.[1] Is that example potentially broken, then? No; the order of parameters doesn't matter there,

Re: Using Javascript to change struts-generated forms

2008-03-21 Thread Jeromy Evans
Yes, create a custom theme to get out of that table. css_xhtml may work immediately. Potential issues: - Your current approach is also going to create nodes with duplicate ids. This may confuse some browsers badly. At least remove the ID from the template - I'm not sure that order is

Using Javascript to change struts-generated forms

2008-03-20 Thread Allen, Daniel
Hi, all. I'm working on a form that would allow some arbitrary number of documents to be uploaded at once. The idea is that by default, one set of document fields appears, and there's a link that a user can click to activate some javascript that would add another set of document fields. I have