This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Struts and the fly likes How to send values to action from combobox onchange ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to send values to action from combobox onchange ?" Watch "How to send values to action from combobox onchange ?" New topic
Author

How to send values to action from combobox onchange ?

Sailesh Ganeshan
Greenhorn

Joined: Sep 29, 2010
Posts: 13
Hi guys,

Let me explain the scenario here :

I've a <s:select> drop down box, whose value has to be sent to the Action class on change. However, I could not pass the value which I choose now, instead its sending the value that was already selected in the drop down box. Please help me out.

Rgds,
Sailesh


Live your life. Don't just exist.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63052
    
  69

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63052
    
  69

And read HtmlHasNoComboBox
Sailesh Ganeshan
Greenhorn

Joined: Sep 29, 2010
Posts: 13
Hi there,

Sorry about that.Thanks!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to send values to action from combobox onchange ?
 
It's not a secret anymore!