File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Multibox doesn't automatically check after submit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Multibox doesn Watch "Multibox doesn New topic
Author

Multibox doesn't automatically check after submit

Tommaso Nuccio
Ranch Hand

Joined: Dec 11, 2006
Posts: 66
Hi All,

i have a form that uses multicheckbox(es) with the form's scope for a session.
I initialize one of the checkboxes and it startsup fine.
But when I check a different checkbox and submit the form, I always get the preselected checkbox checked and NOT the newly checked checkbox.

Does anyone had the same problem or any solution to this?

Many thanks in advance,
Tommaso


Ciao,<br /> Tommaso<br /> <br />~*~*~*~<br />There are 10 types of people, those who understand binary and those who don't.
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Show us your code including relevant portions of:
* your struts-config.xml file
* your JSP
* Your ActionForm


Merrill
Consultant, Sima Solutions
Tommaso Nuccio
Ranch Hand

Joined: Dec 11, 2006
Posts: 66
Hi Merrill,

you are right.
But I already solved the problem.

Thank you anyway.
sid mishra
Greenhorn

Joined: Jan 20, 2011
Posts: 1
I have the same problem

can you please tell me how you fixed it??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multibox doesn't automatically check after submit