incubator-jspwiki-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: wiki form checkbox issue or my mistake
Date Wed, 15 Apr 2009 12:14:19 GMT
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):


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... 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. 
> 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 ( by 
> Zaisberger, but did not see any response.
> How I return back to the form page is as follows:
>                         out.append( "<div class=\"information\">\n" );
>                         out.append( "Patch request successfully sent" ); 

> // I18N
>                         out.append( "</div>\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
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 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 
> 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 
> mail (, and destroy any copies, electronic, paper 

> or otherwise, which you may have of this communication.  Thank you.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message