So it turns out that it won't display a select box (dropdown) unless
the ftType is "UUID" and ftRenderType is "list". It doesn't support a
value of "dropdown" for ftRenderType and doesn't support
ftSelectMultiple at all (according to /farcry/core/packages/formtools/
uuid.cfc anyways)...
Sheesh I'm so confused now...
On Jan 2, 11:59 am, tilespace <[EMAIL PROTECTED]> wrote:
> Oh and a correction to the above. When I add ftSelectMultiple="true"
> while a dropdown, I don't have a dropdown anymore, it's blank with a
> "Remove Selected" button.
>
> Um.
>
> WTH?
>
> And here's the code:
>
> <cfproperty ftSeq="14"
> ftFieldSet="Details"
> name="destinations"
> type="longchar"
> required="false"
> hint="Destinations"
> ftLabel="Destinations"
> ftType="UUID"
> ftRenderType="dropdown"
> ftSelectMultiple="true"
> ftShowLibraryLink="false"
> ftJoin="destinations" />
>
> On Jan 2, 11:33 am, tilespace <[EMAIL PROTECTED]> wrote:
>
>
>
> > First, I hope everyone's holidays were good :)
>
> > Now to this issue...
>
> > According to everything I've read, this should work:
>
> > <cfproperty ftSeq="14"
> > ftFieldSet="Details"
> > name="destinations"
> > type="longchar"
> > required="false"
> > hint="Destinations"
> > ftLabel="Destinations"
> > ftType="list"
> > ftRenderType="checkbox"
> > ftListData="getDesties" />
>
> > And in the same type CFC:
>
> > <cffunction name="getDesties" displayname="gets all destinations">
> > <cfset var qDests=queryNew("value,name") />
> > <cfquery datasource="#application.dsn#" name="qDests">
> > SELECT objectid,name
> > FROM destinations
> > WHERE STATUS IN ('approved')
> > ORDER BY name
> > </cfquery>
> > <cfreturn qDests />
> > </cffunction>
>
> > But, it doesn't. I get nothing. I get the label and an empty space. No
> > error, no display, no nothing.
>
> > I thought "Well, screw it. I'll just create a dropdown and make it a
> > multi-select. It looks worse and isn't what is wanted but oh well." So
> > I created the dropdown, no problems so far, threw in
> > ftSelectMultiple="true" and...
>
> > Nothing. Still a single select. Went searching through the files in /
> > farcry/core/tags/formtools/ but nuttin there that suggests I should be
> > using something else.
>
> > My desk is starting to get a dent where I keep banging my head... Any
> > ideas on what I'm overlooking/missing?- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---