RE: Multiple Drop Down Menus

2005-12-21 Thread Frank W. Zammetti
x27;t know of an > example that is closer to this scenario have you? > > Rgds > > Kevin > > > -Original Message- > From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] > Sent: 21 December 2005 16:13 > To: Struts Users Mailing List > Cc: 'Struts Users Maili

RE: Multiple Drop Down Menus

2005-12-21 Thread Leahy, Kevin
x27;t know of an example that is closer to this scenario have you? Rgds Kevin -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: 21 December 2005 16:13 To: Struts Users Mailing List Cc: 'Struts Users Mailing List' Subject: RE: Multiple Drop Down Men

RE: Multiple Drop Down Menus

2005-12-21 Thread Frank W. Zammetti
i [mailto:[EMAIL PROTECTED] > Sent: 20 December 2005 20:33 > To: Struts Users Mailing List > Cc: user@struts.apache.org > Subject: Re: Multiple Drop Down Menus > > AJAX is your friend! (as long as Javascript is OK of course). > > Take a look here: > > http://javawebpa

RE: Multiple Drop Down Menus

2005-12-21 Thread Leahy, Kevin
Frank, Which download has the cookbook? Kevin -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: 20 December 2005 20:33 To: Struts Users Mailing List Cc: user@struts.apache.org Subject: Re: Multiple Drop Down Menus AJAX is your friend! (as long as Javascript

Re: Multiple Drop Down Menus

2005-12-21 Thread Raghu Kanchustambham
Try Struts-Layout has some options for doing "related" dropdowns. You may want to check it and avoid a lot of javascript coding. HTH, Raghu On 12/21/05, Neil Erdwien <[EMAIL PROTECTED]> wrote: > > If the amount of data needed for drop down B isn't large, I'd load it > into Javascript objects wh

Re: Multiple Drop Down Menus

2005-12-20 Thread Li
set a flag represented selected or not (can be a boolean, or an arraylist that holds all selected values), put into your global bean holder (if you have, this is a java bean simple holds all objects that would be created and used during the session), then you can use logic tag to check the flag (lo

Re: Multiple Drop Down Menus

2005-12-20 Thread Frank W. Zammetti
You have two choices... DOM manipulation, or DIV replacement. The former can get a little complex, the later is pretty straight-forward: color size function doit(obj) { s = ""; type = obj.value; s += "