Re: A form with a List

2003-01-20 Thread Nicolas De Loof
If I've understand your formBean is NOT a DynaActionForm or subclass of DynaActionForm. If I'm right, will have no effect on struts configuration (they are used only for dynabeans, see DTD) I've not read the begining of your thread, so I don't know you

Re: A form with a List

2003-01-20 Thread Gemes Tibor
2003. január 20. 15:40 dátummal Lach, Thierry ezt írtad: > type="com.bbdodetroit.struts.form.MyActionForm"> > > > If your bean is not dynamic there is no need to use the form-property. Look into the DTD! > I've also tried "firstName[0]", and even (afte

RE: A form with a List

2003-01-20 Thread Lach, Thierry
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 10:54 AM To: [EMAIL PROTECTED] Subject: RE: A form with a List > But my doubt is not how to use iterate tag. It's how to model > the form that

RE: A form with a List

2003-01-15 Thread Simon . Brunner
> But my doubt is not how to use iterate tag. It's how to model > the form that store the list of professionals (or anything else). Try something like that: private Professional[] professionals; public Professional getProfessionals(int i){ return professionals[i]; } public Professional[] g

RE: A form with a List

2003-01-15 Thread Sri Sankaran
externally. Sri -Original Message- From: João Paulo Batistella [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 10:44 AM To: Struts Users Mailing List Subject: RE: A form with a List Thanks again. But my doubt is not how to use iterate tag. It's how to model the

RE: A form with a List

2003-01-15 Thread João Paulo Batistella
15, 2003 9:51 AM To: Struts Users Mailing List Subject: RE: A form with a List Thanks. Professionals is only an example. I tried to say is that I have not only one professional (or something else) but many. As you said, I understand that I can have an attribute that can store these professiona

RE: A form with a List

2003-01-15 Thread Sri Sankaran
- From: João Paulo Batistella [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 15, 2003 9:51 AM To: Struts Users Mailing List Subject: RE: A form with a List Thanks. Professionals is only an example. I tried to say is that I have not only one professional (or something else) but many. As

RE: A form with a List

2003-01-15 Thread João Paulo Batistella
Thanks. Professionals is only an example. I tried to say is that I have not only one professional (or something else) but many. As you said, I understand that I can have an attribute that can store these professionals. Can you give me a simple example? This attribute is an array of java.lang.Ob

Re: A form with a List

2003-01-15 Thread ashokd
Hi, Use Dynamic Forms for this functionlity. Go to www.keyboardmonkey.com or you can see running examples: http://www.keyboardmonkey.com/StrutMonkey/monkey-action.do and a better one on http://www.keyboardmonkey.com/StrutMonkey/MonkeyStruts_v2.jsp The site has tutorials as well but I would sugges

RE: A form with a List

2003-01-15 Thread Sri Sankaran
I don't know what you mean by "professionals". However, treating it as some java.lang.Object you can easily accomplish this with a form-bean that has a List of "professionals" and display the contents of the list in your JSP using a . Am I missing something? Sri -Original Message- Fr