Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Selectmanylistbox disables submit button

 
Jeremy Wilson
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Varun Khanna
Ranch Hand
Posts: 1400
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try to put down h:messages tag to debug if any error is thrown by the server.
 
Jeremy Wilson
Ranch Hand
Posts: 166
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Varun. Should have done that way before this, getting a

Validation Error: Value is not valid
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic