Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

moving values  RSS feed

 
Joe Jose
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to move items selected from one selectManyListbox to another selectManyListbox by a button click. But I didn't successful as yet. The thing is I cannot display an empty list box. I will get values for the seconf list only when selecting values from the first list box.

code is following :

jsp:



bean:


I tried disabling the second list box...but that doesn't work out. Anyone has a thought about it ?

Thanks,
~Joe
 
Joe Jose
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it solved. The selectedDept list should not be null.Should give an empty arraylist.

Thanks,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!