Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

SelectBooleanCheckBox not passing value properly  RSS feed

 
karthik manick
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a SelectBooleanCheckBox which is checked and disabled by default.... but when i click submit button, it is passing value as false....please help me to fix this?
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's something funny in what you just said. A selectbooleancheckbox renders as an HTML checkbox, and and HTML checkbox never gets sent to the server at all unless it's checked. In which case the value "checked" is sent.

A disabled control won't send back data regardless.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!