component=filename maybe
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326588
tried that. Nope.
On Thu, Sep 24, 2009 at 11:35 AM, Brian McCairn
brian.mcca...@medicapp.eu wrote:
component=filename maybe
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of
cfcomponent tags round the cffunction?
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
what do you get if you browse to webroot/cfc/filename.cfc?wsdl
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
So you're calling this file from within ColdFusion directly right?
What happens if you create it using CreateObject?
cfset myCFC = CreateObject('component','cfc.filename')
cfset user = myCFC.Read(13204721-3474-8967-4897498740174013)
Are you getting an error?
andy
-Original
Coldfusion user has permission to the file?
So you're calling this file from within ColdFusion directly right?
What happens if you create it using CreateObject?
cfset myCFC = CreateObject('component','cfc.filename')
cfset user = myCFC.Read(13204721-3474-8967-4897498740174013)
Are you
Yes and cfcomponent name=filename is at the top (and closing).
filename.cfc in the cfc directory
cfcomponent name=filename
cffunction name=Read returntype=Query access=remote
cfargument name=UserID type=string
cfscriptvar Data=;/cfscript
Errors, yes or no? If CF is seeing it, then you should be getting a
response. If it doesnt see it, then you should get an error.
-Original Message-
From: Phillip Vector [mailto:vec...@mostdeadlygame.com]
Sent: Thursday, September 24, 2009 2:59 PM
To: cf-talk
Subject: Re: CFC Question
you do not actually have 2 and 3 as text inside your cfinvoke block,
do you?
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
On 25/09/2009 02:30, Phillip Vector wrote:
So for the meantime, I've put my cfc directory in the web root on the
development server I use.
I have the following
yes, but I took them out and it still has the same result. The
cfinvoke is not firing I don't think.
On Thu, Sep 24, 2009 at 1:31 PM, Azadi Saryev az...@sabai-dee.com wrote:
you do not actually have 2 and 3 as text inside your cfinvoke block,
do you?
Azadi Saryev
Sabai-dee.com
firebug will tell you if it is firing or not.
and you do have cfdump var=#user# or another output of USER var
after your cfinvoke block, right?
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
On 25/09/2009 04:45, Phillip Vector wrote:
yes, but I took them out and it still has the same
Not yet. However, I do have a 4 which isn't showing up (which it would
if the file got that far.
On Thu, Sep 24, 2009 at 1:53 PM, Azadi Saryev az...@sabai-dee.com wrote:
firebug will tell you if it is firing or not.
and you do have cfdump var=#user# or another output of USER var
after your
test your page in firefox with firebug installed. look at the Net tab to
see if the request to your cfc fires and what it returns, if anything...
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
On 25/09/2009 04:55, Phillip Vector wrote:
Not yet. However, I do have a 4 which isn't showing
it, then you should be getting a
response. If it doesnt see it, then you should get an error.
-Original Message-
From: Phillip Vector [mailto:vec...@mostdeadlygame.com]
Sent: Thursday, September 24, 2009 2:59 PM
To: cf-talk
Subject: Re: CFC Question
Yes and cfcomponent name=filename
Hey Philip,
Is this literally all the code on the page?
TestUsers.cfm
1
cfinvoke component=cfc.filename method=Read returnvariable=User
2
cfinvokeargument name=UserID value=13204721-3474-8967-4897498740174013
3
/cfinvoke
4
Nothing else?
If so, then, it's working... You just don't have any
That is litterally all the code in the page. It isn't firing the invoke.
But I have good news. I have been working with fusebox on this (having
double cfc's inthe circuit directory and the root just to be sure) and
it wasn't working.
I moved it over to it's own folder with no fusebox and I'm
Glad you found the issue... however in the future, disclosing a valuable
piece of information like, the fact you're running this code inside a
fusebox app would have cut this thread down to one or two emails...
=]
--
Alan Rother
Adobe Certified Advanced ColdFusion MX 7 Developer
Manager,
Yeah. I know. I'm not thinking today. Sorry about that. I didn't think
it was that much of an issue.
I think I'm going to use application.cfc and not try to put in CFC's
into the application. It's to frustrating for not enough gain IMHO.
On Thu, Sep 24, 2009 at 2:14 PM, Alan Rother
, processing, and
offers better performance.
-Original Message-
From: Phillip Vector [mailto:vec...@mostdeadlygame.com]
Sent: Thursday, September 24, 2009 4:19 PM
To: cf-talk
Subject: Re: CFC Question
Yeah. I know. I'm not thinking today. Sorry about that. I didn't think it
was that much
/DB
credentials, and reference that variable when instantiating any
components that have to access the DB.
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2008 3:57 PM
To: CF-Talk
Subject: RE: cfc question...
Ok, let me see if I'm understanding
-
From: Jason Durham [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2008 11:09 AM
To: CF-Talk
Subject: RE: cfc question...
You don't *have* to use cfinvoke. I prefer not to.
Once you have instantiated (created an instance of it in memory) the
object like you wrote below... you can 'invoke
Yessir. You can supply any arguments you need within those parenthesis.
:)
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2008 1:39 PM
To: CF-Talk
Subject: RE: cfc question...
Thanks, Jason! I'll work on this approach.
Seems much simpler
[A] One of the good things about cfcs, and its also quite confusing
to the beginner, is that there are several ways to code most of the
things you want to do.
For example, to pass in variables to a method, you can do it this way:
cfset qAgent = agentLibrary.get_agent_info( url.agentid ) /
Or
-Talk
Subject: Re: cfc question...
you can always use:
cfinvoke component=dot.delimited.path.to.cfc.from.webroot
method=your_cfc_method_name_here ...
same dor notation goes for createobject() function and cfobject tag
did my first comment not come through on the list yet? i do have
I havent seen that article, but I would suggest you put your cfcs in
their own area, since you want to re-use them as easily as possible.
(Thats one of the big benefits of CFCs).
so I'd put them in
e:\inetpub\webroot\c21ar\components\sales
e:\inetpub\webroot\c21ar\components\agents
I think you're nearly there, Rick.Just make sure you are following
the rules about how to set out paths for components:
if your component is in
e:\inetpub\webroot\c21ar\components\agents\agent.cfc and the web
root is at e:\inetpub\webroot\c21ar, then you would invoke the
component with the
Ok syntax error forgot the closing quotes. Make that:
cfset agentLibrary = createObject(component,components.agents.agent) /
And usually at the top of an object like that (if it's for the kinds
of things i think it is) you would have an init() functionthat you
tell the component the
To: CF-Talk
Subject: Re: cfc question...
you can always use:
cfinvoke component=dot.delimited.path.to.cfc.from.webroot
method=your_cfc_method_name_here ...
same dor notation goes for createobject() function and cfobject tag
did my first comment not come through on the list yet? i do
.
::-Original Message-
::From: Rick Faircloth [mailto:[EMAIL PROTECTED]
::Sent: Sunday, June 15, 2008 9:57 PM
::To: CF-Talk
::Subject: RE: cfc question...
::
::
::I looked over the info and I'm sure I'll end up doing that,
::but I still have to execute the code at some point, which leads
::me back
...
cfinvoke component=c21-ar.components.agent method=get_agent_info
returnvariable=agent_info agent_id=url.agent_id /
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 15, 2008 11:57 PM
To: CF-Talk
Subject: RE: cfc question...
I looked over the info
]
Sent: Monday, June 16, 2008 12:02 AM
To: CF-Talk
Subject: Re: cfc question...
Anyway, what's lame about putting all the cfc's together in a directory
where I can find them easily?
There is nothing lame about it (you gotta stick them somewhere). What he
means is that you
[mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2008 10:20 AM
To: CF-Talk
Subject: RE: cfc question...
Did you get it straightened out Rick? Azadi gave you what you need.
You need to explicitly call the component using a path from the web root
(dot notation).
From Azadi's email
PM
To: CF-Talk
Subject: RE: cfc question...
Yes, I did get it, finally, Jason. Thanks to you and everyone
who has given advice! I've got a lot to think about and consider
making the change from .cfm and includes to cfc's, but I'm off to
a good start, I think. The first step for me is to get
You have to provide an _absolute_ path to a component via
cfinvoke and createObject() using dot notation.
You can get around that by doing something like this
cfset YourPathToCFCDir = com.cf.model.
cfinvoke component=#YourPathToCFCDir#YourCFC
method=init
returnvariable=retinit
?)...so how does it fit into the cfc functionality?
Rick
-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2008 1:29 AM
To: CF-Talk
Subject: Re: cfc question...
Ok syntax error forgot the closing quotes. Make that:
cfset agentLibrary
On Sun, Jun 15, 2008 at 3:43 PM, Rick Faircloth [EMAIL PROTECTED]
wrote:
Let's say I have link on a page back to itself:
a href='page.cfm?agent_id=20'Get Agent/a
Then I have this in my page.cfm to invoke a cfc
called 'agent.cfc':
cfinvoke component='agent'
To: CF-Talk
Subject: Re: cfc question...
You should var-scope your query variable. Also, you can't just return 0 if
the query has no data, since you have specified the return type as query
and 0 is not a query. Finally, the function doesn't need to be
access=remote unless you plan to call
invoke your agents.cfc as c21-ar.components.agents
cf expects a path from web root if the component is not in same folder.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Rick Faircloth wrote:
Thanks for the reply, Brian. I see what you mean about the
agnosticism of the view.
Thanks,
Another issue I've run into is how to help my calling page find
my cfc's. While learning, I've just placed the cfc in the same
folder as the calling page. But now I'm placing them in a components
folder and the calling page can't find it.
Rick, I mostly initialize them in application scope in
PROTECTED]
Sent: Sunday, June 15, 2008 11:00 PM
To: CF-Talk
Subject: Re: cfc question...
Another issue I've run into is how to help my calling page find
my cfc's. While learning, I've just placed the cfc in the same
folder as the calling page. But now I'm placing them in a components
folder
there's nothing lame about it.
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
Rick Faircloth wrote:
Now, Will... all that's a bit complicated for a newbie to cfc's!
Didja haf'ta make it so hard! I just wanted a path! :o)
Anyway, what's lame about putting all the cfc's together in a
together in a directory
where I can find them easily?
-Original Message-
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 15, 2008 11:00 PM
To: CF-Talk
Subject: Re: cfc question...
Another issue I've run into is how to help my calling page find
my cfc's. While
I'll check out the info... thanks, Guido!
-Original Message-
From: Gerald Guido [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2008 12:02 AM
To: CF-Talk
Subject: Re: cfc question...
Anyway, what's lame about putting all the cfc's together in a directory
where I can find them
Rick, I'm delighted to see you starting to work with the power of
CFCs. I also had the same confusion as you did at first. The
terminology for some of these OO concepts gets a bit confusing, so
perhaps i can help you by expressing some of the ideas related without
using the teminology.
Perhaps
?
Thanks,
Rick
-Original Message-
From: Gerald Guido [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2008 12:02 AM
To: CF-Talk
Subject: Re: cfc question...
Anyway, what's lame about putting all the cfc's together in a directory
where I can find them easily?
There is nothing lame
you can always use:
cfinvoke component=dot.delimited.path.to.cfc.from.webroot
method=your_cfc_method_name_here ...
same dor notation goes for createobject() function and cfobject tag
did my first comment not come through on the list yet? i do have it in
my email inbox...
Azadi Saryev
to set up a path using the source attribute, etc.
???
Rick
-Original Message-
From: Mike Kear [mailto:[EMAIL PROTECTED]
Sent: Monday, June 16, 2008 12:50 AM
To: CF-Talk
Subject: Re: cfc question...
Rick, I'm delighted to see you starting to work with the power of
CFCs. I also
On Wednesday 18 Jul 2007, [EMAIL PROTECTED] wrote:
As far as security im not sure how using the array is any better.
.
I suppose once things are broken out using the array I could then validate
the data coming in with cfqueryparam.
This would keep people from tacking on subqueries and
Chad,
Here is what I do in that situation. First my select statement by default
will return all rows
SELECT *
FROM FlexoDirectConfigFiles
WHERE 1=1
1 will always be eqal to 1 so this is an easy way of getting all records and
allowing for optional and clauses then you can do this; Pass in
On Wednesday 18 Jul 2007, [EMAIL PROTECTED] wrote:
I have a CRUD CFC that has this function and I load the CFC into the
application scope:
cffunction name=readZJF access=public returntype=query
cfargument name=criteria type=string required=yes
cfset var readZJF=''/
cfquery
Try preservesinglequotes()?
What I get back is an error:
[Macromedia][SQLServer JDBC Driver][SQLServer]Incorrect syntax near
'PLATES.zjf'.
Then I look at the SQL that was run in debugging.
SELECT *
FROM FlexoDirectConfigFiles
WHERE FileName = ''PLATES.zjf'' AND FileModificationDate =
#preserveSingleQuotes(arguments.criteria)#
On 7/18/07, Chad Gray [EMAIL PROTECTED] wrote:
I have a CRUD CFC that has this function and I load the CFC into the
application scope:
cffunction name=readZJF access=public returntype=query
cfargument name=criteria type=string required=yes
Have you tried: PreserveSingleQuotes() ?
Jim Rising
Sr. Cold Fusion Developer
ICGLink Inc.
www.icglink.com
-Original Message-
From: Chad Gray [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 10:04 AM
To: CF-Talk
Subject: cfc question
I have a CRUD CFC that has this function
Chad,
cfquery is indeed escaping your single quotes. You can get around this in
a couple of ways. The first is to use preserveSingleQuotes() in your
function, like so:
WHERE #preserveSingleQuotes(arguments.criteria)#
While that is a very easy solution, you will be opening yourself up to all
-queries and injecting their own SQL
statements.
Thanks for the help!
Chad
-Original Message-
From: Matt Quackenbush [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2007 11:25 AM
To: CF-Talk
Subject: Re: cfc question
Chad,
cfquery is indeed escaping your single quotes. You can get
Can you add mappings?
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
confidential and may also be privileged. It is for the
Nope. Cannot add mappings.
On 1/9/07, Robertson-Ravo, Neil (RX) [EMAIL PROTECTED]
wrote:
Can you add mappings?
This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number
Bruce,
Create a mapping in the CF Admin on your local machine for /
SynergyDale pointing to the /nascar/ directory.
Then use SynergyDale.cfc as your cfc object reference.
You can also do the reverse on the remote server if you wish.
HTH,
Jon
On Jan 9, 2007, at 1:39 PM, Bruce Sorge wrote:
Straight from livedocs
http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/buildi12.htm
Specifying the CFC location
When you instantiate or invoke a component, you can specify the component
name only, or you can specify a *qualified* path. To specify a qualified
path, separate the directory
I figured it out. Just droped the SynergyDale and use CFC.Queries.
On 1/9/07, Jon Clausen [EMAIL PROTECTED] wrote:
Bruce,
Create a mapping in the CF Admin on your local machine for /
SynergyDale pointing to the /nascar/ directory.
Then use SynergyDale.cfc as your cfc object reference.
My particular way around this is to set a CFC path variable in the application
scope. So I call CFC's like this:
cfset application.CFCpath = cfc /
Or
cfset application.CFCpath = synergydale.cfc /
cfobject component=#application.cfcPath#.nascar name=nascarObj
Yeah it's extra typing, but is a
:10 2006
Subject: Re: CFC question
If this change is made just make sure and var myReturnVar first.
On 10/3/06, Alan Rother [EMAIL PROTECTED] wrote:
Seems like this is a way to do it. I would suggest, without tetsing it...
that instead of doing this
cfif getTestCount() lt 2
cfreturn TRUE
If this change is made just make sure and var myReturnVar first.
On 10/3/06, Alan Rother [EMAIL PROTECTED] wrote:
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information
Thanks, All. I wanted to make sure I was on the right track...
Seems like this is a way to do it. I would suggest, without tetsing it...
that instead of doing this
cfif getTestCount() lt 2
cfreturn TRUE /
cfelse
cfreturn FALSE /
/cfif
Do this...
cfif getTestCount() lt 2
cfset
Seems like this is a way to do it. I would suggest, without tetsing it...
that instead of doing this
cfif getTestCount() lt 2
cfreturn TRUE /
cfelse
cfreturn FALSE /
/cfif
Do this...
cfif getTestCount() lt 2
cfset myReturnVar = TRUE /
cfelse
cfset myReturnVar = FALSE /
/cfif
Yes, you could do that.
On 10/3/06, Michael Hughes [EMAIL PROTECTED] wrote:
Couldn't I conceivably add a function that would query the database and
return the role for the specific user id, assign that role as a variable,
and rewrite the getTestCount() function so that if the test count is
If this change is made just make sure and var myReturnVar first.
On 10/3/06, Alan Rother [EMAIL PROTECTED] wrote:
Seems like this is a way to do it. I would suggest, without tetsing it...
that instead of doing this
cfif getTestCount() lt 2
cfreturn TRUE /
cfelse
cfreturn FALSE /
So you have the original value maybe?
Ade
-Original Message-
From: Victor Moore [mailto:[EMAIL PROTECTED]
Sent: 13 September 2006 15:54
To: CF-Talk
Subject: CFC question
Hi,
I have seen in a number of examples the following:
cfset variables.myVar = arguments.someArg /
any particular
On 9/13/06, Victor Moore [EMAIL PROTECTED] wrote:
Hi,
I have seen in a number of examples the following:
cfset variables.myVar = arguments.someArg /
any particular reason/advantage why the arguments are assigned to a local
variable inside a cfc function instead of using it directly?
In
I have seen in a number of examples the following:
cfset variables.myVar = arguments.someArg / any particular
reason/advantage why the arguments are assigned to a local
variable inside a cfc function instead of using it directly?
To make it persistant in the lifetime of the CFC
See Ray
Most likely so that if someone changes the argument name you only have to
change it once, instead of each time that it appears inside of the function.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
Syntax like that is usually used within an init() method to set a passed
variable to the CFCs global variable scope to be used by other methods. When
a CFC is cached or called outside of a one shot invoke, this is a must to
prevent having to pass the variable in again and again.
For example,
Typically if you are doing manipulation of the value, you don't want to alter
the input value, but rather a copy of it.
Cfset var firstName = Trim(arguments.firstname) /
Vs
Cfset arguments.firstName = Trim(arguments.firstname) /
If you're not manipulating it further, then it might be a bit
This just came up on something for me this morning and I read that by
doing this, it allows your .init() function to access the variables.
Ryan, Terrence wrote:
Typically if you are doing manipulation of the value, you don't want to alter
the input value, but rather a copy of it.
Cfset var
Good points and nice doc by Ray. I didn't know about the variables scope
being available to the whole cfc.
Thanks
Victor
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion
The variables scope, when used within a CFC, is a protected private
scope (only accessible from within the CFC). Within the head of your
object (after the cfcomponent tag, but prior to any functions) you may
have a block like this:
cfscript
variables.instance = structnew();
Another reason to use the variables scope outside of a method like init()
would be when you extend a CFC from another CFC.
The variables defined in the variables scope will act like a psuedo
constructor if you are not calling that CFC via a cfinvoke, cfobject ...etc.
It provides a little
and im trying to do the qofq within the cfc, and the result is simply
an digit that i set to a session var, just to get it out...for this
test...
tw
On Fri, 10 Sep 2004 14:11:34 -0400, Tony Weeg [EMAIL PROTECTED] wrote:
hi there.
i have this code @ the top of my cfc
where i initialize the
Some ideas:
The var keyword really has no meaning outside of a method. I'm surprised
that it's actually not throwing an error on that - but it could be,
indirectly, a cause.
The variable name get may be legal in CF, but seems suspicious - I wonder
if you're hitting so weird incompatibility with
When you pass an argument to a CFC method, it isn't available in the
This scope, it's available in the Arguments scope:
cffunction name=whichMap returnType=numeric
cfargument name=theQuery type=query required=true
cfreturn arguments.theQuery.recordCount
/cffunction
You can also leave the
Thought I was missing something,
Thanks Raymond.
-Original Message-
From: Raymond Camden [mailto:[EMAIL PROTECTED]
Sent: 14 October 2003 16:18
To: CF-Talk
Subject: RE: CFC question
When you pass an argument to a CFC method, it isn't available in the
This scope, it's available
Just in case it's not clear, the same would also apply to a UDF written
using cffunciton as well.
Also, don't forget that when you pass a query (or a struct or another
cfc) to a method, you pass it be reference, not by value. So if the
method changes the query, you are changing your original
With a CFC, you only 'return' once... you don't return within a loop... (in your case you are only getting the last item)
what you want to do is build a structure of names and then outside the loop, return the structure.
make sense?
Mitch
Shameless plug for my wife's business:
I don't follow completely. If I seta variable inside the loop to
contain the structure then try to return that I get the same result.
Ben
-Original Message-
From: Aunger, Mitch [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 4:36 PM
To: CF-Talk
Subject: RE: CFC
That's because The return command sends you back to the calling program.Why
not just return session.cart at the end of your script and deleted the
imbedded loops.
Andy
-Original Message-
From: Ben Densmore [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 3:19 PM
To: CF-Talk
Yes.But you also exited the program at the end of the first loop.
-Original Message-
From: Ben Densmore [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 3:42 PM
To: CF-Talk
Subject: RE: CFC Question
I don't follow completely. If I seta variable inside the loop to
contain
PROTECTED]
Sent: Wednesday, October 01, 2003 1:42 PM
To: CF-Talk
Subject: RE: CFC Question
I don't follow completely. If I seta variable inside the loop to
contain the structure then try to return that I get the same result.
Ben
[Todays Threads]
[This Message]
[Subscription]
[Fast
Change the line so it reads
CFSET goo = foo(arg)
And it shoud then run the function
HTH
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 15:34
To: CF-Talk
Subject: CFC question
Ok, I built a CFC replete with some methods. One
When you say, x = this.foo, it acts as an outside call. Just do
cfset goo = foo(arg)
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia
ah! danke! That did it.
Doug
-Original Message-
From: Mike Townend [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2003 10:39 AM
To: CF-Talk
Subject: RE: CFC question
Change the line so it reads
CFSET goo = foo(arg)
And it shoud then run the function
HTH
-Original Message
Yikes. What was the reasoning behind this?
- Original Message -
From: Raymond Camden [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Monday, July 14, 2003 8:40 AM
Subject: RE: CFC question
When you say, x = this.foo, it acts as an outside call. Just do
cfset goo = foo(arg
Use the metadata - chapter 11 of the cfmx docs section 4
WG
-Original Message-
From: Michael Tangorre [mailto:[EMAIL PROTECTED]
Sent: 30 May 2003 18:15
To: CF-Talk
Subject: CFC question
Is there a way to display all the functions within a cfc in one line or
using one tag...
I have 4 or
I've used cfdump var=#this.cfc# to list all of the methods.
-Original Message-
From: Michael Tangorre [mailto:[EMAIL PROTECTED]
Sent: Friday, May 30, 2003 12:15 PM
To: CF-Talk
Subject: CFC question
Is there a way to display all the functions within a cfc in one line or
using one tag...
Nice! Thanks.. that is cool and exactly what I was looking for.
Mike
- Original Message -
From: webguy [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Friday, May 30, 2003 1:57 PM
Subject: RE: CFC question
Use the metadata - chapter 11 of the cfmx docs section 4
WG
, January 31, 2003 12:39 AM
To: CF-Talk
Subject: Re: CFC Question
On Thursday, Jan 30, 2003, at 21:58 US/Pacific, Andy Ousterhout wrote:
OK, I am hooked after only a few hours on CFC's. This is so much
easier to
code that what I was trying to do with modules includes in 5.0
:)
For the sake
http://www.macromedia.com/desdev/mx/coldfusion/articles/supsub.html
-Original Message-
From: Andy Ousterhout [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 7:53 AM
To: CF-Talk
Subject: RE: CFC Question
Ok, so in your example, Invoice has-a Ordering Person, how do I set
On Friday, Jan 31, 2003, at 05:52 US/Pacific, Andy Ousterhout wrote:
Ok, so in your example, Invoice has-a Ordering Person, how do I set
FirstName?
Invoice.OrderingPerson.setFirst(Sean); ?
Not quite - see below.
!--- invoice.cfc ---
cfcomponent
cffunction
for taking the time to educate me.
Andy
-Original Message-
From: Sean A Corfield [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 11:08 AM
To: CF-Talk
Subject: Re: CFC Question
On Friday, Jan 31, 2003, at 05:52 US/Pacific, Andy Ousterhout wrote:
Ok, so in your example, Invoice
On Thursday, Jan 30, 2003, at 21:58 US/Pacific, Andy Ousterhout wrote:
OK, I am hooked after only a few hours on CFC's. This is so much
easier to
code that what I was trying to do with modules includes in 5.0
:)
For the sake of discussion, lets also say I have another component
: morpheus
My ally is the Force, and a powerful ally it is. - Yoda
-Original Message-
From: Matt Liotta [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 31, 2002 3:00 PM
To: CF-Talk
Subject: RE: CFC Question
cfscript
for(key in yourStruct)
WriteOutput
1 - 100 of 106 matches
Mail list logo