Expand my Community achievements bar.

SOLVED

Assembler and Hierarchical Data Structure

Avatar

Level 2
I'm migrating an existing Flash Communication Server app to
Flex Data Services. Everything is going well - I'm not using any
framework, but simply running a singleton with application scope,
which manages a complex hierarchical structure. I want to be able
to map individual Flex client components to particular parts of the
server data tree - so for example if
Customer.Employees.EmployeeList is updated, only the client
component listening to the EmployeeList receives a synchronisation.
These client components would effectively request a new copy of
EmployeeList. Other components with connections to other parts of
the server data tree would not receive any information.



Can anyone give me any help in the best approach to this?



1 Accepted Solution

Avatar

Correct answer by
Level 2
Fixed, sort of. I was doing what I should be doing, except
'Compile Locally' was not working.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 2
Fixed, sort of. I was doing what I should be doing, except
'Compile Locally' was not working.

Avatar

Former Community Member
You should be able to compile locally if you add
/WEB-INF/flex/libs/fds.swc

and /WEB-INF/flex/locale/en_US/fds_rb.swc to your Flex
project Library Path?





Avatar

Former Community Member
Oops, and specify two command line arguments for
-services=/path/to/your/WEB-INF/flex/services-config.xml

and -context-root=/yourwebappcontextroot