Hi Dave,

thanks for your answer, i'll check it out as soon as possible.

Greets
Christoph

Dave Wolf wrote:
Return the XML string not the Document.  Document isnt
serializable.  Serialize the Document yourself out to a valid XML
String and return the String.  Then you can bind the XML to the
control.


--
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY x85


--- In [email protected], "Christoph Guse" <[EMAIL PROTECTED]>
wrote:
>
> Hi Dave,
>
> at the moment the signature is
>
> public Document getAllFolders(){
>
>    // do something and return object of type Document
>
> }
>
> It is evident the the control shows nothing. I don't know what to
send to
> the tree control so the tree control is populated.
>
> Greets
> Christoph
>
> >     It would sure help if we could see the method signature of
the
> >  getAllFolders() method.  The code of it would be even nicer ;)
> >
> >
> >  --
> >  Dave Wolf
> >  Cynergy Systems, Inc.
> >  Macromedia Flex Alliance Partner
> >  http://www.cynergysystems.com
> >
> >  Email:  [EMAIL PROTECTED]
> >  Office: 866-CYNERGY x85
> >
> >  --- In [email protected], Christoph Guse  wrote:
> >  >
> >  > 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
> >  >
> >  >
> >  >
> >  >
> >  >
> >  >
> >  > The sourcecode of my test:
> >  >
> >  >  initialize=&quot;initialise()&quot;>
> >  >
> >  >
> >  >
> >  >             var data;
> >  >
> >  >             function initialise(){
> >  >
> >  > album.getAllFolders
(&quot;/srv/www/tomcat5/base/webapps/webalbum/album&quot;);
> >  >             }
> >  >
> >  >             function fillData(res){
> >  >                 data = ""> > >  >             }
> >  >
> >  >         ]]>
> >  >
> >  >
> >  >
> >  >      result=&quot;fillData&quot;>
> >  >
> >  >
> >  >
> >  >
> >  >         {data}
> >  >
> >  >
> >  >
> >  >
> >  >
> >  > 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
> >
> >
> >
> >         SPONSORED LINKS
> >    Web site design development
> >   Computer software development
> >    Software design and development
> >                                     Macromedia flex
> >                        Software development best practice
> >          YAHOO! GROUPS LINKS
> >      Visit your group "flexcoders" on the web.
> >      To unsubscribe from this group, send an email to:
> >  [EMAIL PROTECTED]
> >      Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
> >
>





-- 
****************************************
 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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to