If a user enters some invalid data from one view, for example:
Email: bill@apple.com
then I want the controller:
- do not put data in the model
- reddish color text box
- does not allow the user to save
But it is possible that if the user enters the same invalid data in a different view, I want the controller:
- place the data in the model
- reddish color text box
- allow user to save
But it is possible that if the user enters the same invalid data in a different view, I want the controller:
- place the data in the model
- color text box bluish
- allow user to save
And it is possible that another view would be:
- place the data in the model
, :
:
[ad infinitum]
n- n-views, ?
Update
stackoverflow, " ". , , .
:
, , .
. , .
. , truncated exception
MVC, //, - , .