wood burning stoves*
The moose likes JSF and the fly likes Selectmanylistbox disables submit button 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 » Java » JSF
Bookmark "Selectmanylistbox disables submit button" Watch "Selectmanylistbox disables submit button" New topic

Selectmanylistbox disables submit button

Jeremy Wilson
Ranch Hand

Joined: Feb 18, 2003
Posts: 166
I have an issue with the code below. When I first access the page the submit buttons work, this is without selecting any items in the select box. If I then select any item in the list box and click the submit button nothing is happening. It's almost as if the buttons are disabled when an item is selected. Any insite would be wonderful.

Jeremy Wilson
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15286

Well, you've got 3 submit buttons, 1 of which has an actionListeners attached to it and one with an action, and all you said was "...the submit button..."

And are you sure they aren't working? Or is something in the backing bean not working? What exactly do you mean by not working?

GenRocket - A Test Data Generation Platform
Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
Try to put down h:messages tag to debug if any error is thrown by the server.

- Varun
Jeremy Wilson
Ranch Hand

Joined: Feb 18, 2003
Posts: 166
Thanks Varun. Should have done that way before this, getting a

Validation Error: Value is not valid
I agree. Here's the link: http://aspose.com/file-tools
subject: Selectmanylistbox disables submit button
Similar Threads
selectManyListBox to add/remove user Roles
selectmanyListBox - scroll position
Problem in populating textbox in jsf on clicking submit button
Unable to call Action Methof