I am actually trying to build the interface between my ListGrid and TreeGrid components using the Rest datasource - based on the Seam RESTeasy framework.
While doing so - there are some questions arising:
Q1)
How does the update / create / delete send the data (the whole object) and can i define the URL for that ??
Q2)
In the smartclient datasource definition (as far as i understand) i only define the fields i want to show (not the whole object graph)!
So when now the Grid or List forces an update - what happens with the other values of my Object - are they set to null - or arent they transmitted at all (am i loosing my object graph) ?
Q3)
XML or JSON - as in the samples there is mainly used xml - is the xml way the preferrable one ??
Q4)
Has someone already made the integration with a Seam server as a backend ?
Any feedback would be helpful (Thanks in advance) !
While doing so - there are some questions arising:
Q1)
How does the update / create / delete send the data (the whole object) and can i define the URL for that ??
Q2)
In the smartclient datasource definition (as far as i understand) i only define the fields i want to show (not the whole object graph)!
So when now the Grid or List forces an update - what happens with the other values of my Object - are they set to null - or arent they transmitted at all (am i loosing my object graph) ?
Q3)
XML or JSON - as in the samples there is mainly used xml - is the xml way the preferrable one ??
Q4)
Has someone already made the integration with a Seam server as a backend ?
Any feedback would be helpful (Thanks in advance) !
Comment