• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with checkbox

 
john mg
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a jsp page which has check boxes in it. when jsp loads first time all the setter methods are invoked as expected. When form is submitted after checking all the checkboxes first reset method of FormA is called then all the setter methods are called from here control goes to intermediary actionA which forward the control to another actionB.It is at his point FormA reset method is called but setter methods from this form are getting called.

Both ActionA and ActionB uses FormA. Even after resetting the checkboxes value in reset method setter methods are not getting called for ActionB.

FormA(setter methods gets called) - > Submit Form (reset method + setter method called) -> ActionA (forward to Action B) -> only reset method called ->Action B.

Not sure why setter methods are not getting called even after reset method is resetting check box values.

Any help is appreciated.

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"code rancher", please check your private messages for an important administrative matter.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic