This is totally up to you. You could store the errors in a file and later when visitor logs in, show the content of the file. I do something similar, and I Email the errors as a part of a "report", I also have a "batch" model where I store all informations about this background process (ie: time, input data (as compressed blob), output etc ...)
Hope this helps On Oct 26, 6:49 pm, Steveston <[EMAIL PROTECTED]> wrote: > Hello! > > When saving data via a form, I can use $html->tagErrorMsg (along with > invalidate function & model validation) to display error message. > > However, if I am not saving data via a form, how shall I display error > message? > > For example, instead of adding one by form, I am adding many records > by importing a csv file. Some records violates validation, some > records are duplicate, etc. How shall I do to display error message to > visitors (on View page)? > > Thank you very much --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
