are you pre-setting the value or fieldValue attributes for s:checkbox
please display code in your jspMartin 
______________________________________________Disclaimer and confidentiality 
noteEverything in this e-mail and any attachments relates to the official 
business of Sender. This transmission is of a confidential nature and Sender 
does not endorse distribution to any party other than intended recipient. 
Sender does not necessarily endorse content contained within this 
transmission.> Date: Mon, 31 Dec 2007 21:48:12 -0800> From: [EMAIL PROTECTED]> 
To: user@struts.apache.org> Subject: Re: wrong request parameters sent> > > hi 
any help?> > > > ravi_eze wrote:> > > > hi,> > > > i have 3 
checkboxes(c1,c2,c3) enclosed in a form (theme: ajax;> > validate=true). I am 
trying to get the validation done by ajax and when i> > un-check all boxes or 
check some of the boxes i see that always c3 is> > being set in request 
parameter.> > > > when i tried to debug i found the following statement in> > 
validationClient.js which could be a cause of this behavior:> > > > var vc = 
this;> > var form = input.form;> > var params = new Object();> > for (var i = 
0; i < form.elements.length; i++) {> > var e = form.elements[i];> > if (e.name 
!= null && e.name != '') {> > params[e.name] = e.value;> > }> > }> > > > which 
is always putting the 3rd checkbox in the request parameter even> > though its 
not checked. If i remove all ajax related attributes (i.e.> > <s:head, 
<s:form.. ) the parameters are going right and the validations> > are happening 
fine. > > > > any ideas where i am going wrong/ is any body else is also 
getting the> > same behavior?> > > > > > -- > View this message in context: 
http://www.nabble.com/wrong-request-parameters-sent-tp14555088p14564745.html> 
Sent from the Struts - User mailing list archive at Nabble.com.> > > 
---------------------------------------------------------------------> To 
unsubscribe, e-mail: [EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL 
PROTECTED]> 
_________________________________________________________________
Don't get caught with egg on your face. Play Chicktionary!
http://club.live.com/chicktionary.aspx?icid=chick_wlhmtextlink1_dec

Reply via email to