« Return to Thread: Checkbox list question

Re: Checkbox list question

by Okke Tijhuis :: Rate this Message:

Reply to Author | View in Thread

Peter,

thanks. I'll look into that.

Regards,

Okke

On Fri, May 16, 2008 at 10:18 AM, Peter Ledbrook <peter@...> wrote:
> I'm using the Checkbox list from the contributed tags. I'm running into one
> little problem with it.
> When one value is checked from the list it returns the value as a String.
> When multiple values
> are checked the value is returned as an LString (String array). What is the
> best way to handle
> both outcomes (without resorting to a type check) in the same way? I'm
> probably overlooking
> and easy solution.
>
> At first I didn't know 2 different types were returned so when I used
> ".each" on the returned value
> in the case of one selected value (for instance "82") it uses "8" and "2",
> not "82".

I find command-objects/data-binding the best approach. Note that the
above problem occurs with all multi-valued parameters.

Cheers,

Peter

--
Software Engineer
G2One, Inc.
http://www.g2one.com/

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



 « Return to Thread: Checkbox list question