Not sure if this will do the trick but why not map your hash table to an
object property in your JAVA object.
It should be fast enough (especially compared to WDDX conversion) and then
it looks to CF like a structure.
The only catch you need to set the object to a temporary object and only
then you can reference it's properties:
i.e.
<CFSET TempHash = OBJ.HashObject >
<CFSET a = TempHash.Value>
and not:
<CFSET a = OBJ.HashObject.Value>
HTH,
Noam
----------
From: B Schlank [SMTP:[EMAIL PROTECTED]]
Sent: Saturday, 06 January 2001 10:11
To: Fusebox
Subject: Java HashTable to ???
I have a java class that I am calling from a CFOBJECT tag in one of
my
custom tags. The only problem is that the methods I am calling
return a
Hashtable or Vector.
Does anyone know if there is a way to convert from a Java Hashtable
or
Vector to something useful in cf? I went the WDDX route and it
works, but
it makes the result set 5-8 times the data I need.
Any ideas?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists