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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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/