Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to get the value of selectManyListbox component using ParameterMap object

 
Vallidevi Appana
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all

I am using SelectMayListBox component in my jspx.
I want to get the value of this component which is List or array in my action class. ( Here I want this value without submitting the form so I used ParameterMap in my action class.)



The third line in the code throwing ClassCastException. I tried to replace List with String[] then also same thing happened.
But when I put String instead List it didn't throw anything. But in this case I can get only one item selected by the user.
How can I get the list in my action class?

Thansk in advance.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic