Calling one CFC file from another using cfobject

2008-06-02 Thread Brian Niski
I use cfobject to instantiate my components in my Application.cfm file. cfobject name=test1obj component=cfc/test1 cfobject name=test2obj component=cfc/test2 Can I use test1.cfc to call a method from test2.cfc? In a typical .cfm page I would invoke the component like this, cfinvoke

RE: Calling one CFC file from another using cfobject

2008-06-02 Thread Dave Watts
I use cfobject to instantiate my components in my Application.cfm file. cfobject name=test1obj component=cfc/test1 cfobject name=test2obj component=cfc/test2 Can I use test1.cfc to call a method from test2.cfc? In a typical .cfm page I would invoke the component like this, cfinvoke

Help Initializing Pseudo-Constructor using CFOBJECT

2006-10-26 Thread Aaron Roberson
I have been creating and invoking my CFCs like such: cfset gateway = createObject(component, appName.path.cfc).init(application.dsn) / cfset qRecordset = gateway.getRecords() / But I am considering using cfobject instead. Here is a comparison: cfobject name=gateway component=appName.path.cfc

Re: Help Initializing Pseudo-Constructor using CFOBJECT

2006-10-26 Thread Charlie Griefer
) / cfset qRecordset = gateway.getRecords() / But I am considering using cfobject instead. Here is a comparison: cfobject name=gateway component=appName.path.cfc cfinvoke component=gateway method=getRecords returnvariable=qRecordset The only problem is that I don't know how to pass

Re: Help Initializing Pseudo-Constructor using CFOBJECT

2006-10-26 Thread Aaron Roberson
between cfinvoke/cfinvoke tags. This made me think that WA eCart could recognize CFC Queries in the same way. However, I don't want to invoke my component each time I invoke one of its methods. Therefore, I was thinking of using cfobject to instantiate the component and cfinvoke to call the method

Re: Help Initializing Pseudo-Constructor using CFOBJECT

2006-10-26 Thread Charlie Griefer
--- as a comment between cfinvoke/cfinvoke tags. This made me think that WA eCart could recognize CFC Queries in the same way. However, I don't want to invoke my component each time I invoke one of its methods. Therefore, I was thinking of using cfobject to instantiate the component and cfinvoke to call

Re: Help Initializing Pseudo-Constructor using CFOBJECT

2006-10-26 Thread Aaron Roberson
using cfobject. What am I missing? Any help would be appreciated. Thanks, Aaron ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion

Error handling and dumping vars into an email not using CFOBJECT

2006-10-04 Thread Tom King
Dear All, I'm using the following script to dump the various scopes which exist into an email as a form of error handling. However, my shared host has locked down CFOBJECT, so this doesn't work unless I remove some of the structs being dumped. The Script in application.cfc: cffunction

Using cfobject

2003-09-29 Thread Bushy
expires=never Is there a better way of getting this information without using cfobject? [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: Using cfobject

2003-09-29 Thread A.Little
: Using cfobject Hi, I'm using the line to grab the computer name and the authenticated user on a WIndows 2000 Server. cfobect type=COM name=w class=WScript.Network action=""> cfcookie name=DisplayComputerName value=#w.ComputerName# expires=never cfcookie name=DisplayAuthenticatedUse

Using cfobject

2003-08-27 Thread Bosky, Dave
I been writing some java classes for use in CFMX and have a few questions. Is this the default location for my class files? /CFUSIONMX/WWWROOT/WEB-INF/CLASSES/ When I modify and replace existing class files is it necessary to restart any services for the changes to take effect? Thanks, ~Dave

RE: Using cfobject

2003-08-27 Thread Craig Dudley
to restart when you change classes. -Original Message- From: Bosky, Dave [mailto:[EMAIL PROTECTED] Sent: 27 August 2003 14:12 To: CF-Talk Subject: Using cfobject I been writing some java classes for use in CFMX and have a few questions. Is this the default location for my class files

Using CFOBJECT in CF50 to query LDAP?

2003-06-05 Thread Mike Brunt
Has, anyone out there ever used CFOBJECT to query a JavaBean for LDAP authentication, if so is it possible to share a bit of example code? Kind Regards - Mike Brunt ~| Archives:

RE: Using CFOBJECT in CF50 to query LDAP?

2003-06-05 Thread Costas Piliotis
Why not just use cfldap or cfauthenticate (depending on what you need to do)? -Original Message- From: Mike Brunt [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 2:44 PM To: CF-Talk Subject: Using CFOBJECT in CF50 to query LDAP? Has, anyone out there ever used CFOBJECT

RE: Using CFOBJECT to connect to WORD?

2001-04-01 Thread Chris Montgomery
Going to the below site causes a redirect to http://www.coldfusionmonthly.com/cfm/, a blank page. Anyone else seeing this? I'm using IE 5.0 on Win2K. -Original Message- From: Reed Powell [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 12:44 PM I just read a real

Using CFOBJECT to connect to WORD?

2001-03-29 Thread Reed Powell
I just read a real interesting article on the www.coldfusionmonthly.com site about using CFOBJECT to access Excel files via COM. The primary motivation of what was talked about in the article was to get Excel to create charts and graphs. Has anyone tried the similar tack of using CFOBJECT to get

RE: Using CFOBJECT to connect to WORD?

2001-03-29 Thread Caulfield, Michael
ect: Using CFOBJECT to connect to WORD? I just read a real interesting article on the www.coldfusionmonthly.com site about using CFOBJECT to access Excel files via COM. The primary motivation of what was talked about in the article was to get Excel to create charts and graphs. Has anyone tried the si

RE: Using CFOBJECT to connect to WORD?

2001-03-29 Thread Simon Horwith
Message- From: Caulfield, Michael [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 29, 2001 2:14 PM To: CF-Talk Subject: RE: Using CFOBJECT to connect to WORD? We actually used to use it all the time for on the fly conversion of word processing documents into HTML and it worked rather well. When

Re: Using CFOBJECT to connect to WORD?

2001-03-29 Thread Michael Morris
with Visual Studio, but I think it can be downloaded from the MS site as well. Not sure where though. Have fun. Mike - Original Message - From: Reed Powell [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Thursday, March 29, 2001 1:43 PM Subject: Using CFOBJECT to connect to WORD

RE: accessing a dts file using cfobject

2000-10-03 Thread Simon Horwith
","sa","",0,"","","","test","") CFIF isDefined("error_message") cfoutput #error_message# /cfoutput /cfif CFSET p= objDTS.Execute() Hope this helps out all of you who are (fortunate enough to

accessing a dts file using cfobject

2000-10-02 Thread Jeff Sarsoun
Has anyone created a dts file in MS SQL7 and was able to access it using cfobject? I am getting the error: Error trying to create object specified in the tag. COM error 0x800401F3. Invalid class string The error occurred while processing an element with a general identifier of (CFOBJECT