Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

multiple dropdown interdependant on the previous selected dropdoen value  RSS feed

Ranch Hand
Posts: 75
  • 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..
Ranch Hand
Posts: 188
Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Dushyant,

i think you should use "onChangeTopics" and "reloadTopics" in s:select
hope this link would help you.
Get me the mayor's office! I need to tell him about this tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!