RE: [CFCDev] Ref. a query via getter?

2003-10-29 Thread Justin Balog
Thanks barney, does anybody have any use in a component like this, if so I will send out final code. Justin -Original Message- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 4:42 PM To: [EMAIL PROTECTED] Subject: RE: [CFCDev] Ref. a query via getter? E

RE: [CFCDev] Ref. a query via getter?

2003-10-29 Thread Justin Balog
Thanks much Gary,that was it! -Original Message- From: Gary Menzel [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 4:38 PM To: [EMAIL PROTECTED] Subject: Re: [CFCDev] Ref. a query via getter? The problem is here: > output="yes"> > > > > Firs

RE: [CFCDev] accessing an obj instantiated within a parent

2003-10-29 Thread Gary Menzel
> Hmmm, i just figured out that the variables scope isn't available to child > components. Ok, there's my answer. I tested your code on CFMX 6.1. It works. But you have to make sure you call the INIT method. Gary Menzel Web Development Manager IT Operations Brisbane -+- ABN AMRO Morgans Limite

RE: [CFCDev] Ref. a query via getter?

2003-10-29 Thread Barney Boisvert
Every thing looks good (at least from my quick skim), except that yo're missing a CFRETURN in the delimit method. You need to return a string, even if it's just "", or change the returntype to void. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Jus

RE: [CFCDev] accessing an obj instantiated within a parent

2003-10-29 Thread Nando
Hmmm, i just figured out that the variables scope isn't available to child components. Ok, there's my answer. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Nando > Sent: Thursday, October 30, 2003 12:08 AM > To: [EMAIL PROTECTED] > Subject: [CFCDev] a

Re: [CFCDev] Ref. a query via getter?

2003-10-29 Thread Gary Menzel
The problem is here: > output="yes"> > > > > Firstly, load the return value of the getQuery call into a local variable: And then dont use the ## notation in the : The "query" parameter in takes the NAME of a variable. So it just can't handle what you are tr

Re: [CFCDev] accessing an obj instantiated within a parent

2003-10-29 Thread Gary Menzel
> Should i be able to do this? How? Yes - but if you haven't called your INIT method then you will get that error. I wrote a little test for this and was able to generate the error by not calling the INIT method. In addition, if you want to have your CFC automatically initialise portions of itse

[CFCDev] Ref. a query via getter?

2003-10-29 Thread Justin Balog
Howdy, I keep getting the complex objects cannot be converted to simple data type errors. Am I doing something crazy here? Here is the component:

[CFCDev] accessing an obj instantiated within a parent

2003-10-29 Thread Nando
I'm attempting to instantiate a component in the init() method of a base component so it will be available to the child components, like so: variables.display shows up in the dump for the content object with all it's metho

RE: [CFCDev] Cf Script Methods and CFML Method attributes

2003-10-29 Thread Nathan Dintenfass
You can add methods at run-time to CFC instances, but I would tread very carefully into that terrain. I don't know of a way to get to the attributes of CFFUNCTION programmatically outside of that tag -- I would not be surprised if it's theoretically possibly by accessing the underlying java object

RE: [CFCDev] SQL server 2000

2003-10-29 Thread Ung, Seng
Chris, Wow! Thank you for your reply! Oracle9i Enterprise Edition Release 9.2.0.1.0 When I tried to select the Tables I got this error msg error 7399: OLE DB provider 'OraOLEDB.Oracle' report an error OLE DB error trace[OLE/DB provider 'OraOLEDB.Oracle' IDBInitialize:: Initalize returned 0x800

[CFCDev] SQL server 2000

2003-10-29 Thread Ung, Seng
To All: Sorry! the question that I am about to ask is not releated to Coldfusion. I am not sure where I can post my question to? I am trying to use Linked Servers to connect to my Oracle, but I am not having any luck... Here is the tns infomation TestDrive = (DESCRIPTION = (ADDRESS_LIST =

[CFCDev] Cf Script Methods and CFML Method attributes

2003-10-29 Thread Hardy Jonck
Is it possible to set method attributes manually. For instance: could one do something like this: function xy() { // Some Op } function setCfAttributes() { x.output = 'Yes'; } Also for component Y: function x() {} function z() {} is there a way to get at y's class object

RE: [CFCDev] CFC Calls From Java

2003-10-29 Thread Andre Mohamed
Best of both worlds = Java wrapper class that knows about Servlet Contexts which wraps an environment agnostic pure Java object...but then I'm sure you both knew that was an option. Regards, André -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Liot