File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

multiple dropdown interdependant on the previous selected dropdoen value

 
Dushyant Chhetri
Ranch Hand
Posts: 75
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 188
Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic