PDA

View Full Version : How to use the common extjs package with other packages



babupca
6 Feb 2017, 3:10 AM
I'm currently working on the EXTJS project, where i have n number of packages in side the package folder

For example
packages - folder
->package1- app.js
->package2- app.js
->package3- app.js
->package4- app.js
->package5- app.js
->package6- app.js
->package7- app.js
->package8- app.js
->package9- app.js
->package10-app.js

Each package has the app.js file, which is begin referred in their specific jsp files files, so once the spring controller called the ExtJS package will be called respectively from the jsp file. from (build/package 2/app.js) like that..


Now i have problem here. If i need a common functionality which has to be shown in all the pages, then i have to add that functionality in all the packages like (view, store, controller, model) and also in app.js, which is very difficult every time. I know this is not the correct way and could not find an alternative way.

how can i add/use the common (view, store, controller, model) with in other packages without going to those packages and adding view, stores, controllers etc.

Please help..