Hello Java/Flex people
Speaking of Java and remote objects; in
Coldfusion you can use java’s reflect capabilities to load classes from
any location (locally or remotely) my problem is loading from a jar file
remotely. Of course all of this will be used by Flex. Has anyone done this??
I am hoping for this to be a future/featured
tag for Coldfusion next updater. Any MM people feel like passing a note on over
to the CF people?
Thanks Dan
Hi List,
today I tried to fill a Tree Control dynamically.
I wrote a little Java
class which generades a JDOM XML object which fits
the needs of the Tree
Control like
<node>
<node
label="test1" />
<node
label="test2" />
</node>
The sourcecode of my test:
<?xml version="1.0"
encoding="UTF-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"
initialize="initialise()">
<mx:Script>
<![CDATA[
var data;
function initialise(){
album.getAllFolders("/srv/www/tomcat5/base/webapps/webalbum/album");
}
function fillData(res){
data = "">
}
]]>
</mx:Script>
<mx:RemoteObject
id="album" source="org.flex.webalbum.album"
result="fillData">
<mx:method name="getAllFolders" />
</mx:RemoteObject>
<mx:Tree>
<mx:dataProvider>{data}</mx:dataProvider>
</mx:Tree>
</mx:Application>
The Java method is called by a remote object. My
problem is I don't know
how to fill the Tree Control with my JDOM object.
What can I do? Get the
JDOM object as String? I searched google and
flexcoders.org but I wasn't
able to find a solution.
Any thougt is appreciated.
Christoph
--
****************************************
Christoph Guse
Löhstraße 34
41747 Viersen
Tel. 0 21 62 / 50 24 066
Mobil 01 72 / 160 74 84
VoIP 0 12 12 / 39 64 48 831
****************************************
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
|