Joe,

You would still not be able to return a Vector from within a CFX with
setVariable.

That would not be the approach to use with a CFX.

rish

-----Original Message-----
From: Joe Eugene [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 01, 2004 9:19 AM
To: CF-Talk
Subject: Re: Java and Coldfusion help (Repost)

Java Primitive Arrays are NOT Fully Compatible with CFMX 6.1.

CFMX 6.1 Arrays = Vectors != Java Primitive Arrays.

Method like arrayLen(Java Primitive Arrays) work but most other methods dont
work since i believe there is no direct casting.

You may want to use a Vector instead.

HTH

Joe Eugene
  ----- Original Message -----
  From: Andrew Scott
  To: CF-Talk
  Sent: Monday, May 31, 2004 11:26 PM
  Subject: Java and Coldfusion help (Repost)

  Anyone tried to set an array to a coldfusion template using java in a cfx
  before.

  I have tried response.setVariable(StringVariable,Variable); but this will
  only return strings, so with this I was able to create a structure.

  However I would like to set an array for CF to use, but can't figure out
how
  to do this...

  Regards
  Andrew Scott
  Technical Consultant

  NuSphere Pty Ltd
  Level 2/33 Bank Street
  South Melbourne, Victoria, 3205

  Phone: 03 9686 0485  -  Fax: 03 9699 7976
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to