Filling data in the select tags

2004-01-19 Thread Florin Pop
Hi there, I am new to Struts and I am wondering how can I handle the following situation: I have a form where I have some fields for entering user data. Some of the fields are combo boxes (select in html), for example a list of countries. My question is how can I fill the data in the countries

Re: Filling data in the select tags

2004-01-19 Thread Thomas Cornet
Step 1 -- You have to make your list of countries available, that is to say storing the list in a scope. You can do this in the action calling the page where are your combos. example : class Country { String iso_code; String name; } public class MyAction

RE: Filling data in the select tags

2004-01-19 Thread Andrew Hill
January 2004 20:12 To: '[EMAIL PROTECTED]' Subject: Filling data in the select tags Hi there, I am new to Struts and I am wondering how can I handle the following situation: I have a form where I have some fields for entering user data. Some of the fields are combo boxes (select in html

RE: Filling data in the select tags

2004-01-19 Thread MichaelBoucher
: Subject: RE: Filling data in the select tags 01/19/2004 07:33 AM Please respond

RE: Filling data in the select tags

2004-01-19 Thread Robert Nocera
set the list in the request separately. -Rob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 11:43 AM To: Struts Users Mailing List Subject: RE: Filling data in the select tags Hi folks, I'm also new to struts, and setting any fields

RE: Filling data in the select tags

2004-01-19 Thread MichaelBoucher
:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 11:43 AM To: Struts Users Mailing List Subject: RE: Filling data in the select tags Hi folks, I'm also new to struts, and setting any fields before the page is displayed is something that I'm having trouble with. Here's a few things I need to do. 1

RE: Filling data in the select tags

2004-01-19 Thread Robert Nocera
To: Struts Users Mailing List Subject: RE: Filling data in the select tags Hi there, But how do you get an ActionForm to populate? If I'm on page X, trying to get to page Y, I would need the ActionForm for Y, and all I have in my execute method is the ActionForm for X. Mike Mike Boucher