Very interesting Peter.  I honestly never thought of or created structures
that way.  Thanks.

On Mon, Dec 6, 2010 at 5:24 PM, Derrick Jackson <derrick.jackso...@gmail.com
> wrote:

> We can talk about this when you have some time.
>
>
> ---------- Forwarded message ----------
> From: Peter J. Farrell <pe...@mach-ii.com>
> Date: Mon, Dec 6, 2010 at 2:42 PM
> Subject: Re: [Mach-II] Form Library - radioGroup
> To: mach-ii-for-coldfusion@googlegroups.com
>
>
>  Per the wiki, if a struct is provided the struct key is used as the value
> for the radio input, with the struct value being used as the label for the
> radio input.  Why would it not be that the struct key is used for the label
> and the value used as the value so you end up with this instead:
>
> Usually the key of a struct is the id of a value:
>
> 1=Telephones
> 2=Computers
> 3=Fax Machines
>
> Almost always the struct key is the "id" and the struct key value is the
> "data".  Would you convert a query of names to?
>
> peter=5677
> matt=9877
> kurt=1000
>
> The only time where it's not applicable is when you are doing a reverse
> lookup struct althought I much perfer using StructFindValue.  I believe this
> same question was brough up by Matt when this was being developed...
>  Eventually we came to the conclusion of what is currently in the core.
>
> .Peter
>
> --
> You received this message because you are subscribed to Mach-II for CFML
> list.
> To post to this group, send email to
> mach-ii-for-coldfusion@googlegroups.com
> To unsubscribe from this group, send email to
> mach-ii-for-coldfusion-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
>
> SVN: http://svn.mach-ii.com/machii/
> Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
>
>

-- 
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to mach-ii-for-coldfusion@googlegroups.com
To unsubscribe from this group, send email to 
mach-ii-for-coldfusion-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to