You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Matthew Forder <fo...@ams.neth.seagate.com> on 2001/09/04 14:31:01 UTC

Getting CheckBox info from a form

Just a quicky...

I have several checkboxes on a form, all having the same name. What is
the correct way(s) I can use data.getParameters().get???("name") to find
out which checkboxes have been selected?

Thanks and regards,


Matt

--
   ____  | Matthew J. Forder         | Data Center Supervisor
  / / () | Seagate Techology         | Tel:+31 20 316 7468
  \ \ \  | Koolhovenlaan 1           | Fax:+31 20 653 5537
 ()_/_/  | 1119 NB Schiphol-Rijk, NL | matthew.forder@seagate.com



Re: Getting CheckBox info from a form

Posted by Matthew Forder <fo...@ams.neth.seagate.com>.
Dan,

data.getParameters().getStrings("date") did the trick nicely...thanks for the
pointer!!!

Regards,

Matt


Dan Bachelder wrote:

> there are methods like getLongs() and getObjects() which return arrays...
> that's where you want to be...
>
> ----- Original Message -----
> From: "Matthew Forder" <fo...@ams.neth.seagate.com>
> To: <tu...@jakarta.apache.org>
> Sent: Tuesday, September 04, 2001 8:31 AM
> Subject: Getting CheckBox info from a form
>
> > Just a quicky...
> >
> > I have several checkboxes on a form, all having the same name. What is
> > the correct way(s) I can use data.getParameters().get???("name") to find
> > out which checkboxes have been selected?
> >
> > Thanks and regards,
> >
> >
> > Matt
> >

--
   ____  | Matthew J. Forder         | Data Center Supervisor
  / / () | Seagate Techology         | Tel:+31 20 316 7468
  \ \ \  | Koolhovenlaan 1           | Fax:+31 20 653 5537
 ()_/_/  | 1119 NB Schiphol-Rijk, NL | matthew.forder@seagate.com



Re: Getting CheckBox info from a form

Posted by Dan Bachelder <ch...@chowda.net>.
there are methods like getLongs() and getObjects() which return arrays...
that's where you want to be...

----- Original Message -----
From: "Matthew Forder" <fo...@ams.neth.seagate.com>
To: <tu...@jakarta.apache.org>
Sent: Tuesday, September 04, 2001 8:31 AM
Subject: Getting CheckBox info from a form


> Just a quicky...
>
> I have several checkboxes on a form, all having the same name. What is
> the correct way(s) I can use data.getParameters().get???("name") to find
> out which checkboxes have been selected?
>
> Thanks and regards,
>
>
> Matt
>
> --
>    ____  | Matthew J. Forder         | Data Center Supervisor
>   / / () | Seagate Techology         | Tel:+31 20 316 7468
>   \ \ \  | Koolhovenlaan 1           | Fax:+31 20 653 5537
>  ()_/_/  | 1119 NB Schiphol-Rijk, NL | matthew.forder@seagate.com
>
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: turbine-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org