aspose file tools*
The moose likes Struts and the fly likes Problem with checkbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem with checkbox" Watch "Problem with checkbox" New topic
Author

Problem with checkbox

john mg
Greenhorn

Joined: Jul 30, 2009
Posts: 1
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

Joined: Jan 10, 2002
Posts: 61756
    
  67

"code rancher", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with checkbox