Alright... It's figured out... If anyone else should ever come across
this problem, use this code:

<cfproperty ftSeq="14"
  ftFieldSet="Details"
  name="destinations"
  type="longchar"
  required="false"
  hint="Destinations"
  ftLabel="Destinations"
  ftType="list"
  ftRenderType="checkbox"
  ftLayout="Yes"
  ftListData="getDesties" />

<cffunction name="getDesties" displayname="gets all destinations">
  <cfset var qDests = queryNew("value,name") />
  <cfquery datasource="#application.dsn#" name="qDests">
    SELECT objectid as value,name FROM destinations
  </cfquery>
  <cfreturn qDests />
</cffunction>

After much debugging (lots and lots of cfsavecontent tags in
list.cfc), it turns out that it's hardcoded to look for a column
called "value" and so I had to change my SQL to "objectid as
value" (even though I read in a couple of places that the core knows
that objectid is value).

So, there you go. Dynamic checkboxes. Yay.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"farcry-dev" group.
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/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to