puremvc
|
|
« Reply #1 on: July 26, 2008, 04:51:14 » |
|
Please examine the EmployeeAdmin demo. I believe you will see a similar use case implemented.
When you select an employee in the table the editing panel will get the data in the form of a VO. You can edit the data, and cancel or submit your change if you submit, the VO is updated and the changes are reflected in the table, otherwise they are discarded.
And, you probably don't need to make the VO or the Proxy a Singleton. Since we use a NAME constant to register a Proxy, only one can be registered in that name. You have to provide a unique instance name to registerProxy if you want more than one in the system.
-=Cliff>
|