so just to clarify, you have a tree in which a node is a name of client-side
class....my approach has been to create an xsd, from the xsd generate with
jaxb the classes
and send it as xml to the client where i show the content of the server side
instance as
a tree....after modifying the tree content you can send back to the server
the tree
serialized as xml and always with jaxb insert the xml content to server side
classes...
i know that in this way client-side classes are missing but who needs?
otherwise you can have a tree with a foo root node and as first level childs
a set of
async tree nodes that when clicked will load the content from the server...
i didn't understand why you need a client-side class??
maybe you need to edit the tree content?

after a lot of writing i have a new idea.....try to extend xmltreeloader and
working on
the load method and on createNode method maybe you can easily obtain the
solution..
i recommend a common interface over all the classes with which easily
work...

bye Pat


2009/8/23 venkat kilaru <[email protected]>

> thanks for the response michele. you have given me good idea to store the
> data in the xml format which is retrieved in the server side.
>
> but i have one doubt regarding ivoking the client views dynamically. i.e
> we have to store class names as strings. then how can i instantiate the view
> java classes. when user click on tree nodes?
>
>
> On 8/21/09, Patrizio De Michele <[email protected]> wrote:
>>
>> xmltreeloader??? ask for an xml to the server side....this xml must be
>> dinamically generated....you can set the url of the xml in the
>> treepanel....
>> otherwise you can use json.....that is the native format of the
>> treeloader...
>>
>> for my purposes i have extended xmltreeloader and retrieved the xml from
>> the server with an rpc call, and created the tree the way i prefer...
>>
>> pat.
>>
>> 2009/8/21 kilaru <[email protected]>
>>
>>>
>>> hi
>>>
>>> I am very new to GWT and GWT-Ext. I am unable to get Object[][] as a
>>> return type through RPC calls.
>>>
>>> i am using GWT 1.7 and GWT-Ext 2.0.5. i have one issue. in my project
>>> i want to get dynamic tree from database through RPC call, which is
>>> displayed in left side (similar to Showcase example). but in showcase
>>> example data is stored in the client side. i want to get similar type
>>> of information from database.
>>>
>>> can you help me to solve my issue. is there any other procedure to get
>>> dynamic tree along with the view objects which will be displayed when
>>> i click on tree node.
>>>
>>>
>>>
>>>
>>
>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to