Re: How can I restate this without using EVALUATE?
> In a calling page: > > > > > > #myResult# Does anyone know why in CF you can't do this: When you return a function, you can't then call it with arguments. Is it because functions in CF are actually separate classes? I like in javascript how you can do stuff like that. -- Josh ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307843 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: How can I restate this without using EVALUATE?
Sure, but they could use cfinvoke to do the job too. On Fri, Jun 20, 2008 at 11:02 AM, Mark Kruger wrote: > This is done frequently in frameworks that use controllers (ie model glue) > > -mark > > > Mark A. Kruger, CFG, MCSE > www.coldfusionmuse.com > > -Original Message- > From: James Holmes > Sent: Thursday, June 19, 2008 8:42 PM > To: CF-Talk > Subject: Re: How can I restate this without using EVALUATE? > > Actually it can, technically speaking, although why you'd do this is beyond > me: -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307817 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: How can I restate this without using EVALUATE?
This is done frequently in frameworks that use controllers (ie model glue) -mark Mark A. Kruger, CFG, MCSE www.coldfusionmuse.com -Original Message- From: James Holmes [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2008 8:42 PM To: CF-Talk Subject: Re: How can I restate this without using EVALUATE? Actually it can, technically speaking, although why you'd do this is beyond me: In dynamictest.cfc: In a calling page: #myResult# On Fri, Jun 20, 2008 at 5:18 AM, Matt Williams <[EMAIL PROTECTED]> wrote: > Can't be done in a regular cfset > > argumentcollection="#args#" returnvariable="methodResults" /> > > On Thu, Jun 19, 2008 at 4:14 PM, Brad Haas <[EMAIL PROTECTED]> wrote: >> I know using evaluate is a no-no, but I'm stumped on how to restate this line of code: >> >> > evaluate("theObject.#url.methodCall#(#args#)")> >> >> Any help would be appreciated. >> >> > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307816 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How can I restate this without using EVALUATE?
Actually it can, technically speaking, although why you'd do this is beyond me: In dynamictest.cfc: In a calling page: #myResult# On Fri, Jun 20, 2008 at 5:18 AM, Matt Williams <[EMAIL PROTECTED]> wrote: > Can't be done in a regular cfset > > argumentcollection="#args#" returnvariable="methodResults" /> > > On Thu, Jun 19, 2008 at 4:14 PM, Brad Haas <[EMAIL PROTECTED]> wrote: >> I know using evaluate is a no-no, but I'm stumped on how to restate this >> line of code: >> >> >> >> Any help would be appreciated. >> >> > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307815 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How can I restate this without using EVALUATE?
Thanks Matt & João. I appreciate your help. >argumentCollection="#args#" returnvariable="methodResults"/> >-- > >João Fernandes > >http://www.onflexwithcf.org >http://www.riapt.org >Portugal Adobe User Group (http://aug.riapt.org) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307801 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: How can I restate this without using EVALUATE?
-- João Fernandes http://www.onflexwithcf.org http://www.riapt.org Portugal Adobe User Group (http://aug.riapt.org) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307788 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: How can I restate this without using EVALUATE?
Can't be done in a regular cfset On Thu, Jun 19, 2008 at 4:14 PM, Brad Haas <[EMAIL PROTECTED]> wrote: > I know using evaluate is a no-no, but I'm stumped on how to restate this line > of code: > > > > Any help would be appreciated. > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307784 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
How can I restate this without using EVALUATE?
I know using evaluate is a no-no, but I'm stumped on how to restate this line of code: Any help would be appreciated. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307783 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4