I've been looking at the list type.  But I'm getting confused on the
execution.

I write a custom query directly in the extended dmEvent.cfc? Right?
Let's call it getNodePerm

then I put this in my dmEvent.cfc

<cfproperty
 ftSeq="9"
 ftFieldset="Event Overview"
 name="page"
 type="string"
 required="true"
 default=""
 ftLabel="Associated Page"
 ftType="list"
 ftListData="getNodePerm(nodeid,nodename)" />

Is this right?  I'm afraid to try it and mess up the database.

Second issue is in order to build the custom query I need to know the
userID of the logged in user.  Is this in a session variable somewhere
that I can access?

If I solve those problems I'm in the clear.

I'm very ready to beat my head against a different wall :-)



On Dec 20, 2:26 pm, "Blair McKenzie" <[EMAIL PROTECTED]> wrote:
> For formtool metadata use:
> ftType="list"
> ftListData="getList"
>
> In your type add a getList function (no parameters). The function can return
> either a list in the form value:label,value:label or a query with "data" and
> "label" colums (not certain about that one but pretty sure - good for
> data/labels with commas and colons)
>
> Blair
>
> On Dec 21, 2007 3:32 AM, Jaci <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > How do I do this?- 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to