13 Sep 2012 11:50 AM #1
Where Do You Put Custom onTriggerClick Triggers In An MVC App?
I'm converting a non-MVC ExtJS 4 app to MVC ExtJS 4. I have an x-form-search-trigger defined in a form and the controller does not seem to recognize the onTriggerClick event. I did some researching and found this thread:
Someone posted a solution by defining a custom trigger. However, I'm a little confused about where to put this code in the MVC folder structure. Does it belong in the same code as the view that defines the trigger? Is this even an appropriate example of how to handle onTriggerClick events?