Thanks Chris,

It was a bit digging but finally found the answer with your link, I have
extended the farcry.core.packages.formtools.list in my own plugin folder en
rewrote the edit and getListdata function and finally it worked, thanks!

2012/2/29 Chris Kent <[email protected]>

> Looks like you want to take a look at ftWatch, see
> https://farcry.jira.com/wiki/display/FCDEV50/ftWatch+Example
>
> Chris.
>
>
> On Wednesday, 29 February 2012 15:31:25 UTC, chris wrote:
>>
>> Hi Everyone,
>>
>> I've got a question:
>>
>> I have two custom content types one is a tableLinktype.cfc with the
>> folowing fields: tablename,primarykeyfield,**discriptionfield,
>> foreignkeyfield,tablefilter.
>>
>> and the second type is tableContentLink.cfc:
>>
>> <cfproperty name="tableLinkTypeid" type="uuid" ftType="uuid"
>> ftHint="Linktypename" ftSeq="1" ftLabel="Linktype"
>> ftJoin="tableLinktype" ftRenderType="dropdown"
>> ftValidation="required" />
>> <cfproperty name="contentTitle" type="string" ftHint="Title of the
>> content" ftSeq="2" ftLabel="Title" ftValidation="required" />
>> <cfproperty name="contentBody" type="longchar" default="" hint="Story"
>> ftSeq="3" ftLabel="Body" ftType="richtext" />
>> <cfproperty name="contentImage" type="uuid" hint="Image to display"
>> required="no" default="" ftseq="4" ftlabel="Image" fttype="uuid"
>> ftjoin="dmImage" />
>> <cfproperty name="contentLink" type="string" default="" hint=""
>> ftType="list" ftSeq="5" ftListData="getLink" ftRenderType="dropdown"
>> ftLabel="Link" ftValidation="required" />
>> <cfproperty name="contentActive" type="boolean" default="0"
>> hint="Actief" ftType="boolean" ftSeq="6" ftLabel="Content active on
>> site" />
>>
>> <cffunction name="getlink" access="public">
>>         <cfargument name="objectid" type="uuid" required="true">
>>         <cfset var getContentLink = queryNew("value","name")>
>>
>>         <cfreturn getContentLink>
>> </cffunction>
>>
>> What i would like to achieve is to dynamicaly change the getLink
>> function on selection of the tableLinkType. so if a tableLinkType is
>> selected i can use its value in de getlink function to look up the
>> values to make a query. can this be done?
>>
>> Thanks in advance,
>>
>> Chris
>
>
> On Wednesday, 29 February 2012 15:31:25 UTC, chris wrote:
>>
>> Hi Everyone,
>>
>> I've got a question:
>>
>> I have two custom content types one is a tableLinktype.cfc with the
>> folowing fields: tablename,primarykeyfield,**discriptionfield,
>> foreignkeyfield,tablefilter.
>>
>> and the second type is tableContentLink.cfc:
>>
>> <cfproperty name="tableLinkTypeid" type="uuid" ftType="uuid"
>> ftHint="Linktypename" ftSeq="1" ftLabel="Linktype"
>> ftJoin="tableLinktype" ftRenderType="dropdown"
>> ftValidation="required" />
>> <cfproperty name="contentTitle" type="string" ftHint="Title of the
>> content" ftSeq="2" ftLabel="Title" ftValidation="required" />
>> <cfproperty name="contentBody" type="longchar" default="" hint="Story"
>> ftSeq="3" ftLabel="Body" ftType="richtext" />
>> <cfproperty name="contentImage" type="uuid" hint="Image to display"
>> required="no" default="" ftseq="4" ftlabel="Image" fttype="uuid"
>> ftjoin="dmImage" />
>> <cfproperty name="contentLink" type="string" default="" hint=""
>> ftType="list" ftSeq="5" ftListData="getLink" ftRenderType="dropdown"
>> ftLabel="Link" ftValidation="required" />
>> <cfproperty name="contentActive" type="boolean" default="0"
>> hint="Actief" ftType="boolean" ftSeq="6" ftLabel="Content active on
>> site" />
>>
>> <cffunction name="getlink" access="public">
>>         <cfargument name="objectid" type="uuid" required="true">
>>         <cfset var getContentLink = queryNew("value","name")>
>>
>>         <cfreturn getContentLink>
>> </cffunction>
>>
>> What i would like to achieve is to dynamicaly change the getLink
>> function on selection of the tableLinkType. so if a tableLinkType is
>> selected i can use its value in de getlink function to look up the
>> values to make a query. can this be done?
>>
>> Thanks in advance,
>>
>> Chris
>
>
> On Wednesday, 29 February 2012 15:31:25 UTC, chris wrote:
>>
>> Hi Everyone,
>>
>> I've got a question:
>>
>> I have two custom content types one is a tableLinktype.cfc with the
>> folowing fields: tablename,primarykeyfield,**discriptionfield,
>> foreignkeyfield,tablefilter.
>>
>> and the second type is tableContentLink.cfc:
>>
>> <cfproperty name="tableLinkTypeid" type="uuid" ftType="uuid"
>> ftHint="Linktypename" ftSeq="1" ftLabel="Linktype"
>> ftJoin="tableLinktype" ftRenderType="dropdown"
>> ftValidation="required" />
>> <cfproperty name="contentTitle" type="string" ftHint="Title of the
>> content" ftSeq="2" ftLabel="Title" ftValidation="required" />
>> <cfproperty name="contentBody" type="longchar" default="" hint="Story"
>> ftSeq="3" ftLabel="Body" ftType="richtext" />
>> <cfproperty name="contentImage" type="uuid" hint="Image to display"
>> required="no" default="" ftseq="4" ftlabel="Image" fttype="uuid"
>> ftjoin="dmImage" />
>> <cfproperty name="contentLink" type="string" default="" hint=""
>> ftType="list" ftSeq="5" ftListData="getLink" ftRenderType="dropdown"
>> ftLabel="Link" ftValidation="required" />
>> <cfproperty name="contentActive" type="boolean" default="0"
>> hint="Actief" ftType="boolean" ftSeq="6" ftLabel="Content active on
>> site" />
>>
>> <cffunction name="getlink" access="public">
>>         <cfargument name="objectid" type="uuid" required="true">
>>         <cfset var getContentLink = queryNew("value","name")>
>>
>>         <cfreturn getContentLink>
>> </cffunction>
>>
>> What i would like to achieve is to dynamicaly change the getLink
>> function on selection of the tableLinkType. so if a tableLinkType is
>> selected i can use its value in de getlink function to look up the
>> values to make a query. can this be done?
>>
>> Thanks in advance,
>>
>> Chris
>
>
> On Wednesday, 29 February 2012 15:31:25 UTC, chris wrote:
>>
>> Hi Everyone,
>>
>> I've got a question:
>>
>> I have two custom content types one is a tableLinktype.cfc with the
>> folowing fields: tablename,primarykeyfield,**discriptionfield,
>> foreignkeyfield,tablefilter.
>>
>> and the second type is tableContentLink.cfc:
>>
>> <cfproperty name="tableLinkTypeid" type="uuid" ftType="uuid"
>> ftHint="Linktypename" ftSeq="1" ftLabel="Linktype"
>> ftJoin="tableLinktype" ftRenderType="dropdown"
>> ftValidation="required" />
>> <cfproperty name="contentTitle" type="string" ftHint="Title of the
>> content" ftSeq="2" ftLabel="Title" ftValidation="required" />
>> <cfproperty name="contentBody" type="longchar" default="" hint="Story"
>> ftSeq="3" ftLabel="Body" ftType="richtext" />
>> <cfproperty name="contentImage" type="uuid" hint="Image to display"
>> required="no" default="" ftseq="4" ftlabel="Image" fttype="uuid"
>> ftjoin="dmImage" />
>> <cfproperty name="contentLink" type="string" default="" hint=""
>> ftType="list" ftSeq="5" ftListData="getLink" ftRenderType="dropdown"
>> ftLabel="Link" ftValidation="required" />
>> <cfproperty name="contentActive" type="boolean" default="0"
>> hint="Actief" ftType="boolean" ftSeq="6" ftLabel="Content active on
>> site" />
>>
>> <cffunction name="getlink" access="public">
>>         <cfargument name="objectid" type="uuid" required="true">
>>         <cfset var getContentLink = queryNew("value","name")>
>>
>>         <cfreturn getContentLink>
>> </cffunction>
>>
>> What i would like to achieve is to dynamicaly change the getLink
>> function on selection of the tableLinkType. so if a tableLinkType is
>> selected i can use its value in de getlink function to look up the
>> values to make a query. can this be done?
>>
>> Thanks in advance,
>>
>> Chris
>
>
> On Wednesday, 29 February 2012 15:31:25 UTC, chris wrote:
>>
>> Hi Everyone,
>>
>> I've got a question:
>>
>> I have two custom content types one is a tableLinktype.cfc with the
>> folowing fields: tablename,primarykeyfield,**discriptionfield,
>> foreignkeyfield,tablefilter.
>>
>> and the second type is tableContentLink.cfc:
>>
>> <cfproperty name="tableLinkTypeid" type="uuid" ftType="uuid"
>> ftHint="Linktypename" ftSeq="1" ftLabel="Linktype"
>> ftJoin="tableLinktype" ftRenderType="dropdown"
>> ftValidation="required" />
>> <cfproperty name="contentTitle" type="string" ftHint="Title of the
>> content" ftSeq="2" ftLabel="Title" ftValidation="required" />
>> <cfproperty name="contentBody" type="longchar" default="" hint="Story"
>> ftSeq="3" ftLabel="Body" ftType="richtext" />
>> <cfproperty name="contentImage" type="uuid" hint="Image to display"
>> required="no" default="" ftseq="4" ftlabel="Image" fttype="uuid"
>> ftjoin="dmImage" />
>> <cfproperty name="contentLink" type="string" default="" hint=""
>> ftType="list" ftSeq="5" ftListData="getLink" ftRenderType="dropdown"
>> ftLabel="Link" ftValidation="required" />
>> <cfproperty name="contentActive" type="boolean" default="0"
>> hint="Actief" ftType="boolean" ftSeq="6" ftLabel="Content active on
>> site" />
>>
>> <cffunction name="getlink" access="public">
>>         <cfargument name="objectid" type="uuid" required="true">
>>         <cfset var getContentLink = queryNew("value","name")>
>>
>>         <cfreturn getContentLink>
>> </cffunction>
>>
>> What i would like to achieve is to dynamicaly change the getLink
>> function on selection of the tableLinkType. so if a tableLinkType is
>> selected i can use its value in de getlink function to look up the
>> values to make a query. can this be done?
>>
>> Thanks in advance,
>>
>> Chris
>
>  --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: [email protected]
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry
>

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to