Initiating a Java object in the same line as creating it does not work all the
time. It depends on how the Java object is coded and how its constructors are
built. I ran into this when using the Java file read objects. When using
these, one must assign the object with the create object functi
The problem is inside your init() method. You're not returning the object in
the cfreturn.
This is the init method of my cachedquery CFC. Note that I'm setting a
returntype equal to the name of the CFC, but the entire returntype is not
needed. The main point is that I'm returni
Here's the entire code snippet...
On Wed, 18 Jan 2006 09:57:45 -0500
"Baz" <[EMAIL PROTECTED]> wrote:
> Hi Richard,
>
> To init() on create you need to make sure that the
>init() method returns THIS () In your
>example it seems that you are returning VOID.
>
> Ch
here's an example from some code I worked on using the
jakarta apache Project's HSSp java classes:
this is creating an object that creates an excel
spreadshhet workbook...
Eric
On Wed, 18 Jan 2006 09:36:00 -0400
Richard East <[EMAIL PROTECTED]> wrote:
> I have seen code where an object was
> Hi Richard,
>
> To init() on create you need to make sure that the init() method
> returns THIS () In your example it seems that you are
> returning VOID.
>
> Cheers,
> Baz
>
Brilliant! That works.
Thank you,
Richard
~|
Hi Richard,
To init() on create you need to make sure that the init() method returns THIS
() In your example it seems that you are returning VOID.
Cheers,
Baz
-Original Message-
From: Richard East [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 8:36 AM
To: CF-Talk
Subject:
6 matches
Mail list logo