Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes Passing values between 2 select boxes... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Passing values between 2 select boxes..." Watch "Passing values between 2 select boxes..." New topic
Author

Passing values between 2 select boxes...

Tad Dicks
Ranch Hand

Joined: Nov 16, 2004
Posts: 264
I'm trying to find a way to have two multi-select boxes on one page. With add/remove buttons between them. Where clicking the buttons will move the selected values from one box to the other (depending on which button is pushed).



I keep getting errors like "ServletException in:/WEB-INF/pages/EditGrp.jsp] Property members returned a null value' "

inside the action I have:

where f is the action form


-Tad
Tad Dicks
Ranch Hand

Joined: Nov 16, 2004
Posts: 264
omg... heh would help if I checked against the right values.

Ohwell I think I fixed it.


-Tad
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Passing values between 2 select boxes...
 
Similar Threads
Cannot retrieve mapping for action /content/AddLinks
argument type mismatch --- Please help
Retrieving contents from a select multiple=true input
struts form being cleared in IE 6
problems with form