--- Original Message
From: Lance <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Monday, April 16, 2007 2:41:05 PM
Subject: Re: Form data to Vector
Ok, so your add button creates a new blank record on your page
Your save button posts the form to some save action which validates /
saves
ance <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Monday, April 16, 2007 2:41:05 PM
Subject: Re: Form data to Vector
Ok, so your add button creates a new blank record on your page
Your save button posts the form to some save action which validates /
saves to the db
Two option
D]>
To: Struts Users Mailing List
Sent: Monday, April 16, 2007 2:15:06 PM
Subject: Re: Form data to Vector
Ok, im not sure how exactly you are using it but this is how I tend to
do it.
In your load() action, you hit the db and generate some object for each
row and put them into your vector.
ginal Message
From: Lance <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Monday, April 16, 2007 2:15:06 PM
Subject: Re: Form data to Vector
Ok, im not sure how exactly you are using it but this is how I tend to
do it.
In your load() action, you hit the db and generate some
ay, April 16, 2007 12:12:00 PM
Subject: Re: Form data to Vector
Lance wrote:
Sorry, it helps if i read your question fully.
The way to do this is to name your html form elements using in the
struts (BeanUtils) conventions
If you have a form element named "myVector[3]" then strut
do this exactly?
Thanks,
MB
- Original Message
From: Lance <[EMAIL PROTECTED]>
To: user@struts.apache.org
Sent: Monday, April 16, 2007 12:12:00 PM
Subject: Re: Form data to Vector
Lance wrote:
> Sorry, it helps if i read your question fully.
>
> The way to do this is t
--- Original Message
From: Martin Gainty <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Friday, April 13, 2007 3:45:17 PM
Subject: Re: Form data to Vector
Balazs
Take a look at
http://struts.apache.org/1.0.2/api/org/apache/struts/taglib/logic/package-summary.html
you wil
From: Martin Gainty <[EMAIL PROTECTED]>
To: Struts Users Mailing List
Sent: Friday, April 13, 2007 3:45:17 PM
Subject: Re: Form data to Vector
Balazs
Take a look at
http://struts.apache.org/1.0.2/api/org/apache/struts/taglib/logic/package-summary.html
you will see this example of implementing
st
Sent: Friday, April 13, 2007 3:45:17 PM
Subject: Re: Form data to Vector
Balazs
Take a look at
http://struts.apache.org/1.0.2/api/org/apache/struts/taglib/logic/package-summary.html
you will see this example of implementing a vector via use of struts
logic:iterate in your jsp
<%@ taglib u
t;Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, April 13, 2007 4:09 AM
Subject: Form data to Vector
Hi,
I have a form with two submit buttons. One should add the content of a
text field to a Vector (which is in the form bean?), and the other one
should point to another
Hi,
I have a form with two submit buttons. One should add the content of a text
field to a Vector (which is in the form bean?), and the other one should point
to another page that has access to the Vector values.
I'd like to know how to add form data to a Vector.
Any help would be appreciated.
11 matches
Mail list logo