Hi I am building an assessment application with Cairngorm. All is going swimmingly but I am wondering where I should put the following.
The view collects the respondents answers and fires off an event, containing them. The Controller picks this up and updates the Model... Pretty standard stuff. My problem is that I need to validate the number of answers given. I'm new to the MVC pattern so I am not sure where this should go on. I want to give an alert or something like that to the user if the answers aren't valid. Should I just create the alert in the command that lives in the controller? This doesn't really seem right. Should I raise an event from the model and subscribe to this in the view. This seems more in keeping with what I perceive the roles of each aspect of the architecture to be but seems a bit convoluted. At the end of the day I can get it to work in either of these and probably a few other ways but as I have embarked on this architecture I would like to make sure that I am doing it 'properly'... Thanks in advance... Graham ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/SktRrD/hOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

