struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chaudhary, Harsh" <HCHAU...@amfam.com>
Subject RE: [OT] Re: multiple <html:select>
Date Tue, 30 May 2006 16:04:39 GMT
"resume-oriented programming" LOL.

-----Original Message-----
From: Frank W. Zammetti [mailto:fzlists@omnytex.com] 
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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 
> 

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: fzammetti@hotmail.com
Java Web Parts -
http://javawebparts.sourceforge.net
Supplying the wheel, so you don't have to reinvent it!

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message