View Full Version : Putting a customization layer over core

23 Dec 2010, 9:51 PM
Hi Guys,

We have product which have interface in extjs. Now the problem is every other client need some modification in core product like addition of new field in panel or hiding existing field, making check box to radio button. One way which is think is overriding definition of existing component for eg.
var component = alert("hi");
var component = alert("bye");
if i put above two statement in js file the later definition will be picked similarly I am thinking of overriding existing ext component with new definition. This thing work if i put both the definition in same js file however if i want to put core definition in core file and custom definition in custom file it dont work. Like for if I have core.js and i have included custom js content through <script src="custom.js"/> its not working. Do anyone have idea how do achieve it? Or is there any better way to change your interface without changing the core definitions.

Thanks in advance for your help.

Rishi Saraf