"resume-oriented programming" LOL. -----Original Message----- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 30, 2006 10:53 AM To: Struts Users Mailing List Subject: Re: [OT] Re: multiple <html:select>
Grab the Java Web Parts cookbook: http://sourceforge.net/project/showfiles.php?group_id=140728 ...from the Java Web Parts project... http://javawebparts.sourceforge.net It includes such a "dynamic double-select" example using AjaxTags. Frank Dave Newton wrote: > Medicherla Lakshmi wrote: >> Am using struts and my requirement is i have two selects i a jsp. On change of value in the first select, the values in the secon select should pop up. Is there any way to do this using remote scripting. >> > > What's "remote scripting?" > > Anyway, there are several ways to deal with this, the most obvious being > to set up a javascript handler for the "master" select box such that > when a value is selected the second select is populated. This requires > some chunks of javascript initialization code (usually arrays containing > value/text pairs). > > You could also use AJAX and do things a bit more dynamically, and then > you get to say you used AJAX: long live resume-oriented programming. > > Dave > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] Java Web Parts - http://javawebparts.sourceforge.net Supplying the wheel, so you don't have to reinvent it! --------------------------------------------------------------------- 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]