Re: How to handle multiploe unknown form fields

2004-09-30 Thread Frank W. Zammetti
AIL PROTECTED]> Sent: Thursday, September 30, 2004 6:54 PM Subject: Re: How to handle multiploe unknown form fields I understand the JSP side of this eqation as you wrote it, although I should have said I was looking for a solution that doesn't use Struts taglibs because I try to avoid th

Re: How to handle multiploe unknown form fields

2004-09-30 Thread Niall Pemberton
onForm in Struts 1.2.4 Niall - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 30, 2004 6:54 PM Subject: Re: How to handle multiploe unknown form fields > I understand the JSP side of this eqation as you wrote it, although I shoul

RE: How to handle multiploe unknown form fields

2004-09-30 Thread David Suarez
OTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, September 30, 2004 2:35 PM To: [EMAIL PROTECTED] Subject: Re: How to handle multiploe unknown form fields In fact it did help because it answered some question for me. I spent the last hour searching for the RIGHT answer... This looked like it, but

Re: How to handle multiploe unknown form fields

2004-09-30 Thread fzlists
In fact it did help because it answered some question for me. I spent the last hour searching for the RIGHT answer... This looked like it, but for whatever reason it would never work for me when I tried to do the exact same thing in my own project. So, I went ahead and hacked together my own s

Re: How to handle multiploe unknown form fields

2004-09-30 Thread bmf5
Frank, Will this help? http://www.reumann.net/struts/nested.do You didn't say anything about JSTL. Just today I'm working on populating a checkbox field in an object that's contained in a list. Oops. I just remembered I'm using html-el too. I haven't tried it with with plain html. This

Re: How to handle multiploe unknown form fields

2004-09-30 Thread fzlists
That will take care of the presentation side, true enough. But the problem I'm still trying to solve is how to deal with all the parameters when the form submission happens. For instance, let's say I dynamically construct names for each drop-down along the lines of "dropdown" where is

Re: How to handle multiploe unknown form fields

2004-09-30 Thread fzlists
I understand the JSP side of this eqation as you wrote it, although I should have said I was looking for a solution that doesn't use Struts taglibs because I try to avoid them at all costs, but that aside... I'm still unclear however on what the ActionForm does... Using this concept, do I HAVE

Re: How to handle multiploe unknown form fields

2004-09-30 Thread Niall Pemberton
You simply need a property in your ActionForm that returns a collection of "skill" beans and used the "indexed" attribute on the tags. The "isssue" that most people have problems with is when using a "Request" scope ActionForm you need to populate your collection with the right number of skill bea

Re: How to handle multiploe unknown form fields

2004-09-30 Thread Bill Siggelkow
Frank, Couldn't you create your elements within ? You would need to dynamically generate the name attribute using an a RTEXPR (or using html-el tags). Also, LazyActionForm might help here ... [EMAIL PROTECTED] wrote: I have an interesting situation, one that has never come up before, and I'm un