Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

using abstract controller

HI

I've this very simple MVC code and my question is weather there is a  way to create abstract

controller which will have all the code of the current controller and then use it from abstract by inheritance (maybe by prototype)

Regards,

Miley

http://jsbin.com/hojuquzoti/2/edit?html,js,output

Tags:
Former Member
Former Member replied

You can extend the controller using the extend() method to achieve it. Simple example for extending a controller JS Bin - Collaborative JavaScript Debugging

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question