PDA

View Full Version : what could be the best way to show error message?



nareh tank
19 Nov 2014, 11:01 PM
I am using store.synch() method for post data.
and validation done from server side, currently I am using message box for show error message.
now I want to something different way to show error,but not markInvalid because fr this I have to change every sync method and api also.
so there is any alternative of markInvalid?

joel.watson
20 Nov 2014, 6:39 PM
Hi nareh tank--

Do you have an idea of how you'd like handle the errors (besides the ways which you've already ruled out)? Depending on what it is, an alternative solutions could possibly be built as a mixin or other custom class that could be integrated fairly easily and not require you to refactor a ton of files.