Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@minotaur.apache.org Received: (qmail 29805 invoked from network); 15 Apr 2009 12:27:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Apr 2009 12:27:35 -0000 Received: (qmail 52955 invoked by uid 500); 15 Apr 2009 12:27:35 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 52936 invoked by uid 500); 15 Apr 2009 12:27:35 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Received: (qmail 52926 invoked by uid 99); 15 Apr 2009 12:27:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2009 12:27:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.104.202.5] (HELO rbkmail.log-net.com) (63.104.202.5) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2009 12:27:24 +0000 In-Reply-To: To: jspwiki-user@incubator.apache.org Cc: jspwiki-user@incubator.apache.org Subject: Re: wiki form checkbox issue or my mistake MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0.1 January 17, 2006 Message-ID: From: Louis.Masters@log-net.com Date: Wed, 15 Apr 2009 08:26:59 -0400 X-MIMETrack: Serialize by Router on RBKMAIL01/LOG-NET(Release 7.0.1|January 17, 2006) at 04/15/2009 08:27:23 AM, Serialize complete at 04/15/2009 08:27:23 AM Content-Type: multipart/alternative; boundary="=_alternative 004463EB85257599_=" X-Virus-Checked: Checked by ClamAV on apache.org --=_alternative 004463EB85257599_= Content-Type: text/plain; charset="US-ASCII" OK, that seemed to fix it (using different checkbox names). Thanks for putting up with my own little public r&d effort. -Lou Louis.Masters@log-net.com wrote on 04/15/2009 08:14:19 AM: > One more thing. I created the checkboxes like this so I can take > advantage of the parm being passed to the back-end with the same name and > an iterator attached: > > 6.017 [{FormInput type='checkbox' name='patch_release' value='6.017'}]\\ > 6.018 [{FormInput type='checkbox' name='patch_release' value='6.018'}]\\ > 6.019 [{FormInput type='checkbox' name='patch_release' value='6.019'}]\\ > 6.501 [{FormInput type='checkbox' name='patch_release' value='6.501'}]\\ > 6.502 [{FormInput type='checkbox' name='patch_release' value='6.502'}]\\ > 6.503 [{FormInput type='checkbox' name='patch_release' value='6.503'}]\\ > > This results in parms like (which I need): > > patch_release.0=6.019 > patch_release.1=6.501 > patch_release.2=6.503 > > I'm guessing this is causing the issue? Maybe I'll try to hardcode the > iterator in the form: > > 6.017 [{FormInput type='checkbox' name='patch_release_0' value='6.017'}]\\ > 6.018 [{FormInput type='checkbox' name='patch_release_1' value='6.018'}]\\ > and so on... > > > > Louis.Masters@log-net.com wrote on 04/15/2009 08:06:48 AM: > > > A user of mine ran into a strange issue with a wiki form that I created. > I > > have several checkboxes on the form (say, A, B, C with values a, b, c > > respectively). When a user checks one of the boxes (say A), the form > > sends it to the back end correctly, all is processed OK, and I return to > > > the form. If the user tries to reuse the form without reloading the > > entire page, all of the checkboxes will send down a value of 'a' (the > > values are ignored). I noticed this issue was brought up on the wiki > > forms plugin page (http://www.jspwiki.org/wiki/WikiFormsPlugin) by > Joachim > > Zaisberger, but did not see any response. > > > > How I return back to the form page is as follows: > > > > out.append( "
\n" ); > > out.append( "Patch request successfully sent" ); > > > // I18N > > out.append( "
\n" ); > > return out.toString(); > > > > Is this the issue? How should I be doing it? > > > > Thanks, > > Lou > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > LOG-NET, Inc. > > The Logistics Network Management System > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > 230 Half Mile Road > > Third Floor > > Red Bank, NJ 07701 > > PH: 732-758-6800 > > FAX: 732-747-7497 > > http://www.LOG-NET.com > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > CONFIDENTIAL & PRIVILEGED > > Unless otherwise indicated or if obvious from the nature of the content, > > > the information contained herein is privileged and confidential > > information/work product. The communication is intended for the use of > the > > individual or entity named above. If the reader of this transmission is > > > not the intended recipient, you are hereby notified that any > > dissemination, distribution or copying of this communication is strictly > > > prohibited. If you have received this communication in error, please > > notify the sender immediately by telephone (732-758-6800) or by > electronic > > mail (postmaster@LOG-NET.com), and destroy any copies, electronic, paper > > > or otherwise, which you may have of this communication. Thank you. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --=_alternative 004463EB85257599_=--