ftType UUID select option

6 views
Skip to first unread message

ghoti143

unread,
Oct 1, 2007, 11:00:20 AM10/1/07
to farcr...@googlegroups.com

Does anyone know of an easy way to use formtools to populate a drop down with
the label fields of the component specified by the ftJoin attribute?
Instead of using the default library to specify my one to one relationship,
I just want to display a drop down.

I'm assuming I'll need to write a custom function....any pointers on where
to start?

Thanks,

Mike
FarCry noob
--
View this message in context: http://www.nabble.com/ftType-UUID-select-option-tf4548682s621.html#a12980237
Sent from the FarCry - Dev mailing list archive at Nabble.com.

modius

unread,
Oct 1, 2007, 5:22:31 PM10/1/07
to farcry-dev
On Oct 2, 1:00 am, ghoti143 <m...@sitevision.com> wrote:
> Does anyone know of an easy way to use formtools to populate a drop down with
> the label fields of the component specified by the ftJoin attribute?
> Instead of using the default library to specify my one to one relationship,
> I just want to display a drop down.
>
> I'm assuming I'll need to write a custom function....any pointers on where
> to start?

Put in a feature request for a rendertype of dropdown for the UUID
formtool.

In the meantime, you might try using fttype="list" and using the
ftlistdata attribute to nominate your own query of object data.

-- geoff
http://www.daemon.com.au/

Mike Haggerty

unread,
Oct 2, 2007, 9:03:02 AM10/2/07
to farcr...@googlegroups.com
Geoff,

Apparently you guys have already written a case statement for this...at
least it's in 4-0-3(1673). ftType="UUID" ftRenderType="list" and
ftShowLibraryLink="false" gets me exactly what I need. Now I'm trying
to figure out how to get the select multiple working on a
ftType="array"....it's saying that no options are available.

Thanks,
Mike

--
Michael Haggerty
Internet Applications Developer
SiteVision, Inc.
<e>mi...@sitevision.com</e>
<p>540.343.8322 x116</p>

Brian LeGros

unread,
Oct 17, 2007, 3:46:10 PM10/17/07
to farcry-dev
@Mike,

Did you ever find a solution to the multi-select list box? I'm having
the same issue with the "No options available" showing up even though
the Library shows the options.

-Brian

> <e>m...@sitevision.com</e>
> <p>540.343.8322 x116</p>

Mike Haggerty

unread,
Oct 18, 2007, 9:55:55 AM10/18/07
to farcr...@googlegroups.com
@Brian,

I did find a solution. There was a bug with the core code. See this
bug report for further information:
http://bugs.farcrycms.org:8080/browse/FC-969

I have attached a fixed cfc file to the report.

Let me know if you have any further questions.

Thanks,
Mike

<e>mi...@sitevision.com</e>
<p>540.343.8322 x116</p>

Brian LeGros

unread,
Oct 18, 2007, 11:31:03 AM10/18/07
to farcry-dev
@Mike

Thanks man, that did the trick.

-Brian

Reply all
Reply to author
Forward
0 new messages