I have just started using presentation model with Cairngorm in my webapp. I know that presentation model states that the state and UI logic should not reside in the view. I am trying to fit this into my login screen scenario.
When I press the login button and the username/password is incorrect. I want to display an error box right there in the view. Now how should I display this using the presentation model?
If I create the particular state using actionscript inside presentation model for the login screen, how will I access a particular component in view after which I want to display the error box.
If I create the state using mxml tags, can't I directly update the currentstate using the modellocator which gets set in responder if login fails