@mtangoo wrote:
I have implemented register as component which handles Client side validation as well as other issues. When validation is ok I send registration data to route via sendAction. The problem is, at the server some field might be invalid. For example username must be unique and current user might well use the user that is already in the database. So I need a way to tell the component that there was error in server.
As new ember.js programmer trying to avoid the Controller as much as I can, what is the way to go?
TIA, Stefano
Posts: 2
Participants: 2