RE: RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-17 Thread Lance Semmens
RequestProcessor is doing it's job by resetting the form. What should then 
happen is that your checkboxes should be set after reset() is called which 
doesn't seem to be happening.

Somethings not right here, esp since when you comment out reset, it works. Can 
you post your code? pls. include the relevant parts of struts-config.xml, your 
action and your form.

-Original Message-
From: Garner Shawn [mailto:[EMAIL PROTECTED] 
Sent: 14 November 2006 17:36
To: user@struts.apache.org
Subject: RE: RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped 
form

I am not explicitly calling the reset anywhere.
I've also debugged it and can not find anything out of the ordinary.
>From I can tell it is the request processor that is resetting my form
prior to the page displaying that ends up with the checkboxes not
checked.

Any help?


Shawn

--
From: Lance Semmens <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' 
Date: Tue, 14 Nov 2006 09:51:00 +0000
Subject: RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form
The only thing I can think is maybe you're explicitly calling reset()
in your action (instead of letting struts do it automatically). If
not, I suggest putting a debug breakpoint on the setters for your
checkboxes and see what's going on.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-14 Thread Garner Shawn

I am not explicitly calling the reset anywhere.
I've also debugged it and can not find anything out of the ordinary.

From I can tell it is the request processor that is resetting my form

prior to the page displaying that ends up with the checkboxes not
checked.

Any help?


Shawn

--
From: Lance Semmens <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' 
Date: Tue, 14 Nov 2006 09:51:00 +0000
Subject: RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form
The only thing I can think is maybe you're explicitly calling reset()
in your action (instead of letting struts do it automatically). If
not, I suggest putting a debug breakpoint on the setters for your
checkboxes and see what's going on.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-14 Thread Lance Semmens
The only thing I can think is maybe you're explicitly calling reset() in your 
action (instead of letting struts do it automatically). If not, I suggest 
putting a debug breakpoint on the setters for your checkboxes and see what's 
going on.
 
-Original Message-
From: Garner Shawn [mailto:[EMAIL PROTECTED] 
Sent: 13 November 2006 20:19
To: user@struts.apache.org
Subject: RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form

1. Yes
2. Yes
3  In ActionForm.reset

If I comment out my reset method then it populates the checkboxes
based on the form values like I want however I then loose the ability
to only get the checked value put into my action form after the page
is submitted.



From: Lance Semmens <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' 
Date: Mon, 13 Nov 2006 17:08:00 +
Subject: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form
A couple of things to check
1. Is your get action using the same form as your post action?
2. Do the names of the checkboxes in the html match your form?
3. Where are you resetting the checkboxes? I'm hoping you're doing it
by overriding ActionForm.reset().

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form

2006-11-13 Thread Garner Shawn

1. Yes
2. Yes
3  In ActionForm.reset

If I comment out my reset method then it populates the checkboxes
based on the form values like I want however I then loose the ability
to only get the checked value put into my action form after the page
is submitted.



From: Lance Semmens <[EMAIL PROTECTED]>
To: 'Struts Users Mailing List' 
Date: Mon, 13 Nov 2006 17:08:00 +
Subject: RE: [HELP] struts 1.2.9 multibox/checkbox in session scoped form
A couple of things to check
1. Is your get action using the same form as your post action?
2. Do the names of the checkboxes in the html match your form?
3. Where are you resetting the checkboxes? I'm hoping you're doing it
by overriding ActionForm.reset().

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]