Hi.. I am trying to have portals in multiple tabs. I started off by looking at the example, and modified it until it looks the way I want it to.
My problem was when I tried to "move" the code to the application I am building: it appears that the xtype "portal" is not recognized at the time being used.
I have tested by replacing xtype:'portal' with xtype:'panel', and everything works fine (except I cannot reorder the components, as expected).
This is how I import the js in the html document
HTML Code:
<script type="text/javascript" src="../extjs/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="../extjs/ext-all-debug.js"></script>
<script type="text/javascript" src="Portal.js"></script>
<script type="text/javascript" src="PortalColumn.js"></script>
<script type="text/javascript" src="Portlet.js"></script>
<script type="text/javascript" src="applayout.js"></script>
<script type="text/javascript" src="fader.js"></script>
Does anyone see anything wrong here? Any suggestions of what could be wrong are more than welcome 
By the way, the error printed in firebug is
Code:
types[config.xtype || defaultType] is not a constructor
create(Object title=Yahoo! closable=true region=center, "panel")ext-all-debug.js (line 12100)
createComponent(Object title=Yahoo! closable=true region=center)ext-all-debug.js (line 13943)
lookupComponent(Object title=Yahoo! closable=true region=center)ext-all-debug.js (line 13937)
add(Object title=Yahoo! closable=true region=center)ext-all-debug.js (line 13849)
createContentTab("Yahoo!")applayout.js (line 353)
(no name)()applayout.js (line 403)
fire()ext-all-debug.js (line 1504)
fireDocReady()ext-all-debug.js (line 1541)
[Break on this error] return new types[config.xtype || defaultType](config);
Thanks,
i.b.