wood burning stoves*
The moose likes Struts and the fly likes multiple dropdown interdependant on the previous selected dropdoen value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "multiple dropdown interdependant on the previous selected dropdoen value" Watch "multiple dropdown interdependant on the previous selected dropdoen value" New topic
Author

multiple dropdown interdependant on the previous selected dropdoen value

Dushyant Chhetri
Ranch Hand

Joined: Oct 28, 2009
Posts: 75
Hi All,

I am trying to implement a dropdown which changes on the previous dropdown.

I am using ajax with the help of dojo and have so far been able to populate the values in second dropdown with the changes in the values of the first one.
However now I want to change the values of this combo and try and populate the 3rd combo depending on the selected values.

On the first jsp I am using something like

The DetailAction populates the list and passes to the another jsp detail.jsp

the codes of which are


Now I am stuck as onchange here is not working , so I am not being able to cooenct to another action and then to a third jsp.

Please suggest or any other work around..
debraj mallick
Ranch Hand

Joined: Mar 08, 2011
Posts: 188

hi Dushyant,

i think you should use "onChangeTopics" and "reloadTopics" in s:select
http://code.google.com/p/struts2-jquery/wiki/SelectTag
hope this link would help you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: multiple dropdown interdependant on the previous selected dropdoen value