Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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 ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

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
http://code.google.com/p/struts2-jquery/wiki/SelectTag
hope this link would help you.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!