PDA

View Full Version : GXT MVC - ChangeEventListener design



akme247
21 Jul 2009, 10:01 AM
I am using GXT 2.0 (browser, OS, unimportant) - this is a design question.

I am using GXT MVC, and want to leverage on the com.extjs.gxt.ui.client.data.ChangeEventListener but attaching an instance of it on the BaseModel via the addChangeListener.

Perfect, only thing I am confused what is best practice? Who should implement this interface in the MVC? The controller or the view or both?