I'm trying to call view method from controller, but no idea how to do this. From view I can easily call controller method like this.get('controller').send('method');
How to do something like that from controller this.get('view').send('method');
?
To give you better overview what I'm trying to do.
I have application controller Ember.Controller.extend({})
I have application view Ember.View.extend({})
and application template.
In application template is login form, when user submit it controller method is executed. In this method if login credentials are incorrect I need to call view method which is executing jQueryUI
method on login form (shake method to be exact and showing some text).