N form items as fields

2003-08-08 Thread David Thielen
Hi;

I have a jsp page where I want to display N items where I get the N items from the 
database. I need to have an edit field with each item. Whats the best way to do this 
in struts?

thanks - dave



Re: N form items as fields

2003-08-07 Thread Adam Hardy
Hi Dave,
you should look at indexed or nested tags with the iterate tag.
hth
Adam
David Thielen wrote:
Hi;

I have a jsp page where I want to display N items where I get the N items from the database. I need to have an edit field with each item. Whats the best way to do this in struts?

thanks - dave




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: N form items as fields

2003-08-14 Thread David Thielen
Any suggestions for a good website or book that explains this? I have
"Struts in Action" and it doesn't really have any examples of this.

Also, I understand using the JSTL to do an iterate. My question is for the
ActionForm - how do I set that up to have N items?

thanks - dave


- Original Message - 
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, August 07, 2003 1:56 AM
Subject: Re: N form items as fields


> Hi Dave,
> you should look at indexed or nested tags with the iterate tag.
>
> hth
> Adam
>
> David Thielen wrote:
> > Hi;
> >
> > I have a jsp page where I want to display N items where I get the N
items from the database. I need to have an edit field with each item. Whats
the best way to do this in struts?
> >
> > thanks - dave
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: N form items as fields

2003-08-14 Thread Adam Hardy
I think the indexed properties are elementary enough that you should be 
able to find out all you need on the struts website.

Keep the action form in the session so that the array is the right size 
on submit, or use the .reset() method to set up an array before struts 
does the form init.

Adam

David Thielen wrote:
Any suggestions for a good website or book that explains this? I have
"Struts in Action" and it doesn't really have any examples of this.
Also, I understand using the JSTL to do an iterate. My question is for the
ActionForm - how do I set that up to have N items?
thanks - dave

- Original Message - 
From: "Adam Hardy" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, August 07, 2003 1:56 AM
Subject: Re: N form items as fields



Hi Dave,
you should look at indexed or nested tags with the iterate tag.
hth
Adam
David Thielen wrote:

Hi;

I have a jsp page where I want to display N items where I get the N
items from the database. I need to have an edit field with each item. Whats
the best way to do this in struts?
thanks - dave




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]