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
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
-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
> 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
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
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
-
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
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
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
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
10 matches
Mail list logo