Do you have an example of this with the struts tags 
that allows to display combo-box from a collection of JavaBeans
<html:select ...>
  <html:option >  </html:option>

Sandra

-----Original Message-----
From: Chris Halverson [mailto:[EMAIL PROTECTED]]
Sent: 30 January 2003 17:29
To: Struts Users Mailing List
Subject: Re: how to use two combo-box which depend one on the other ?


Heligon Sandra <[EMAIL PROTECTED]> writes:

>       Do I have to ask the web server each time the user select a new
> function, or is it possible to do this logic on the client side
> (with JavaScript probably ???).

Yep, w/ JavaScript. I just did this and used the basic functions found
at:

http://javascript.internet.com/forms/auto-drop-down.html

You have to populate the arrays from your servlet code, but it's
pretty straightforward.

cdh

-- 
Chris D. Halverson                         http://www.halverson.org/

---------------------------------------------------------------------
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]

Reply via email to