Re: Populating select boxes dynamically

2003-07-08 Thread Erik Price
sriram wrote: James, As explained by you, I have done the following: I need list of countries in a drop-down box in .jsp page. I have an EJB that maps to country table in database. In that I've a method getAllCountries() that returns a collection. In that method, I've used LabelValueBean and s

RE: Populating select boxes dynamically

2003-07-08 Thread Mohan Radhakrishnan
something and forwards to the right view. Mohan -Original Message- From: Sandeep Takhar [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003 6:15 PM To: Struts Users Mailing List Subject: RE: Populating select boxes dynamically I would store something like this in application context

RE: Populating select boxes dynamically

2003-07-08 Thread Sandeep Takhar
I've an action form with getter and setter methods > for 'countryID' (countryID is the name of my > in the jsp page). But how to create a > "pre" action? Can you pl. explain? > > Thanks > Sriram > > -----Original Message- > From:

RE: Populating select boxes dynamically

2003-07-08 Thread sriram
Tuesday, July 01, 2003 6:51 PM To: Struts Users Mailing List Subject: RE: Populating select boxes dynamically > -Original Message- > From: sriram [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2003 4:18 AM > To: '[EMAIL PROTECTED]' > Subject: Populating s

RE: Populating select boxes dynamically

2003-07-01 Thread James Childers
> -Original Message- > From: sriram [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2003 4:18 AM > To: '[EMAIL PROTECTED]' > Subject: Populating select boxes dynamically > > I am fairly new to struts. I am using struts 1.0. I have > couple of list boxes in my input form which need to

RE: Populating select boxes dynamically

2003-07-01 Thread Alex Shneyderman
> What is the process to be followed? Can somebody give me links to related > examples on the net? There are many different ways. From do it yourself to get your options >From a collection that is a bean in one of the contexts. I will explain do it yourself method the others are similar with an