aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 60049
    
  65

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: 60049
    
  65

And read HtmlHasNoComboBox
Sailesh Ganeshan
Greenhorn

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

Sorry about that.Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to send values to action from combobox onchange ?
 
Similar Threads
Java Script Drop-down option deletion but little bit different
Is there any Value Change Listener or Action Listener for inputText
Struts 2.0 Ajax dojo
html: options tag
Reg : Drop-down box