jaewing
08-21-2007, 08:58 AM
Sorry to ask such a silly question.:-/
Im trying to get the center panel to set it to open a page OR form instead of a view.
I have been reading (probably) every post in the forum, looking through the documentation and examples. I have tried creating my own borderlayout, with all sorts of mess. I have given up and now Im just trying to get the default center panel that gets created from the Ext.nd.DominoUI so I can set it to open something other than a view. (If I could get it to open the first doc in a view that could work too..)
If I try to create a new content panel I get an InsertAdjacentHTML error, and yes Ive read the forum posts on that too. There is a lot that is over my head.
I just want to know where to go from here:
var DemoApp = function() {
return {
init : function(){
this.ui = new Ext.nd.DominoUI({
uiOutline : {outlineName: "webMain"},
uiView : {viewName: "", viewTitle: ""},
center : {
titlebar : true,
tabPosition : 'top',
closeOnTab : true,
initialSize : 400,
autoScroll : true
}
});
} // init
} // return
}();
Ext.onReady(DemoApp.init, DemoApp, true);
Im trying to get the center panel to set it to open a page OR form instead of a view.
I have been reading (probably) every post in the forum, looking through the documentation and examples. I have tried creating my own borderlayout, with all sorts of mess. I have given up and now Im just trying to get the default center panel that gets created from the Ext.nd.DominoUI so I can set it to open something other than a view. (If I could get it to open the first doc in a view that could work too..)
If I try to create a new content panel I get an InsertAdjacentHTML error, and yes Ive read the forum posts on that too. There is a lot that is over my head.
I just want to know where to go from here:
var DemoApp = function() {
return {
init : function(){
this.ui = new Ext.nd.DominoUI({
uiOutline : {outlineName: "webMain"},
uiView : {viewName: "", viewTitle: ""},
center : {
titlebar : true,
tabPosition : 'top',
closeOnTab : true,
initialSize : 400,
autoScroll : true
}
});
} // init
} // return
}();
Ext.onReady(DemoApp.init, DemoApp, true);