14 Feb 2012 1:51 AM #1
Creating ExtJS portlets with a non ExtJs host page
I want to be able to perfrom the following:
have a hosting page that is written in a non ExjJS technology. Lets say an asp.net page or any other page,
This page will be able to host many portelts/widgets that are written in ExjJS.
I saw the portal sampe here and this sample uses a container page that is written in ExtJS so thats easy to achive.
How do i get the wanted functionaly that will be able to host diffrent portlets from diffrent teams that can communicate with the host.
14 Feb 2012 5:12 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
All you need to do is output HTML in your ASP page that will load Ext SJ 4 and then you can use any of the widgets like the portalMitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
15 Feb 2012 4:23 AM #3
Repshrasing the question
Hi , thenaks for your reply.
I will ask the question a bit diffrently:
My portal host page is an ExtJs page.
Many teams write diffrent ExtJs views/ controllers etc.
Sometimes their code should be exposed as a portlet.
In the portal sample in the sencha site all the classes were minified to a single classes.js file so the portal application can somply add script refernce to this file.
What will i do in our multiple teams case. will i have to couple of the neccessary code files into a single js file for a single portlet?
Does the ExtJs deployment tool can do that? (Where I can specify which js files to couple together?)