--- 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
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 uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%
java.util.Vector vector =
10 matches
Mail list logo