This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Navigation from Drop Down To another Page  RSS feed

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Drop Down Menu, I want the Page to navigate from the current page to another page whenever its Changed, I discovered that Drop Downs do not have action attrbute, which means i have to probably use JavaScript to submit the page. I can use Page.Submit function but how would i specify the <from-outcome> in the Javascript? Or is there another way i can do this
 
Rick Beaver
Ranch Hand
Posts: 464
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe you can assign a ValueChangeListener to your component and then when it changes it will execute your method on the server - from which you can redirect output.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!