This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Struts and the fly likes Reset() is being called twice Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Reset() is being called twice" Watch "Reset() is being called twice" New topic
Author

Reset() is being called twice

kriegerd Salas
Greenhorn

Joined: Aug 01, 2005
Posts: 8
Hello everyone.

I have a Dispatch action and a JSP. The page contains a checkboxed tree that is being managed by the action (open/close operations). My problem is that in the reset method I set the checkboxes to false, but for some reason the reset method is being called twice, and therefore after an open/close operation, all my tree is unchecked.
Here's the action declaration in struts-config:


Does anyone have any ideas about this??. Thanx for everything.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Reset() is being called twice
 
Similar Threads
cut&paste changes to DispatchAction fail
newbie problem - populating Action form
Problem with ActionErrors
enctype="multipart/form-data" request.getParameter() issue
Struts calls reset before form is submitted