PDA

View Full Version : ExtND Request and Issues



ameliaalex
7 Oct 2009, 8:35 AM
ExtND rendering issue and a few requests.

I have been working through a few issues and building prototypes of applications (both net new and re-engineering of old app to use framework).


Shared Actions not rendering on view and forms
Ability to open new tabs from links on form. For example: links to child documents from parent document (I am sure this is possible, but a code example would be greatly appreciated).
More detailed documentation of the ExtND framework and object model would also be greatly appreciated.
Search functionality not rendering on views created via customized framework. I noticed this on the "Expand multiple Categories" view in the Demo app. For example I attempt to recreate the Framework to allow for customizations (multiple outlines to be rendered as well as a header):


Ext.onReady(function(){
Ext.state.Manager.setProvider(new Ext.state.CookieProvider());

var viewport = new Ext.Viewport({
layout: 'border',
items: [
{
region: 'north',
contentEl: 'TalentDemandHeader',
split: false,
height: 68,
maxheigth: 68,
minheight: 68,
collapsible: true,
targetDefaults : {closable : true},
margins: '0 0 0 0'
},
{
region: 'west',
id: 'west-panel', // see Ext.getCmp() below
title: 'Navigation',
split: true,
targetDefaults : {closable : true},
width: 200,
minSize: 175,
maxSize: 400,
collapsible: true,
margins: '0 0 0 5',
layout: {
type: 'accordion',
animate: true
},
items: [{
contentEl: 'MainNav',
title: 'Notes Views',
border: false,
iconCls: 'nav' // see the HEAD section for style used
}, {
contentEl: 'ReportsNav',
title: 'Reports',
border: false,
iconCls: 'nav'
}]
},
new Ext.TabPanel({
region: 'center', // a center region is ALWAYS required for border layout
id : 'center-panel',
deferredRender: false,
showSearch: true,
closeable: true,
activeTab: 0, // first tab initially active
targetDefaults : {showSearch: true},
items: [{
contentEl: 'center1',
title: 'Welcome',
closable: true,
autoScroll: true
}]})]
});

var outlineMain = new Ext.nd.UIOutline({
target : 'center-panel',
targetDefaults : {closable : true, stripeRows : true, showActionbar: true, showSearch: true},
outlineName : 'main',
renderTo: 'MainNav',
border : false,
width : 200,
height : 500
});
var outlineReports = new Ext.nd.UIOutline({
target : 'center-panel',
targetDefaults : {closable : true, stripeRows : true, showActionbar: true},
outlineName : 'reports',
renderTo: 'ReportsNav',
border : false,
width : 200,
height : 500
});

}
);


This render the application perfectly, but when a user opens one of the views in the outline up, the search functionality is not rendered.

Thanks to all for the hard work that has gone in so far.

GP