Hello all
I am trying to implement presentation model using Cairngorm for my flex
application. I have some views where I have some components binded to
some of modelLocator. I read somewhere that the properties that need to
be updated should reside in presentation model. Is this true? If yes,
then how can I do so?
Suppose I create a currentUser property in modelLocator. and it is bound
to a label on user info screen which displays the concatenated lastname
and firstname. Now if I create a presentation model for user info
screen, I will have to create a fullname property for the view. But then
when and how will I update this property?
* Should I update it when I do login - which means I should do it in
responder.
* Should I create in presentation model and call it in responder. If
yes, will the view get updated properly.
Can somebody please throw some light on these issues?
Thanks ans RegardsShiVik