Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

check boxes and servlets

 
Heath Lilley
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I need to tell a javabean (NOT AN EJB) that a true/false value has changed. I have a servlet/bean/jsp combo that populates an html form. The form has a set of checkboxes that are defalultly checked/unchecked based on a boolean flag located in a database. I need to be able to tell the database when those boolean values have changed(have been checked or unchecked). Now seeing the checked values is easy with submitting the form... But the unselected values are causing me some confusion. I know a way to pass the unchecked values using javaScript ... However i HATE javascript. Is there a way to change the boolean values in my bean that populates the form. The bean is stored in the session when it is passed to the form so it is in the Page's session.
Thanks and sorry for the large message.
 
Heath Lilley
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind. Just figured it out.
I will populate a new bean with the submit data and compare it to the original "populateing" bean. I will leave this up so someone else might also benifit. Sorry if i waisted your time but i was paniced.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic