Hi,

I've made some tweaks to the cairngorm framework for my own purposes, but I
would like to ask your opinion of a feature I would like to add.

Scenario:
User logs in and the Value Objects are all filed with data using Java
RemoteObjects. User does lots of stuff then wants to log out.

Now I would like to clear the VO's of their data without having to destroy
and re-create them.

One idea I have to do this is to extend all of my VO's from a base VO class
which has a "reset()" method. This method will clear all the property data
in its instance. I would also add a reset() method to the ModelLocator which
will iterate through all the registered VO's and call their reset() method.

Has anyone got any opinions on this? Is there a better way? Should I even
bother?


Simon Fifield
Senior Developer
Mango Solutions




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to