PDA

View Full Version : Auto loading a UIDocument



daricker
21 Jan 2010, 4:17 PM
When someone clicks a preformatted email link I am trying to get the interface to come up and then load a new tab in the tabPanel with the selected document. When I use the tabPanel.add function the document loads however it does not get the ext wrapper. When opening from the uiView it works fine and when opening the document from a simple link it works fine. Any help would be appreciated.

init : function(){

this.ui = new Ext.nd.DominoUI({
uiOutline : {outlineName: '" + sOutlineName + "'},
uiView : {viewName: '" + sViewName + "', viewTitle: '" + sViewTitle + "', showSearch: " + bShowSearch + "}
});
this.ui.tabPanel.add({ method: 'POST' , autoLoad: { url: '/" + thisWebDbName + "/0/" + loadunid + "?OpenDocument' }, closable:true }).show()

daricker
22 Jan 2010, 12:54 PM
Guess I should have search the forum more before posting my query.

http://www.extjs.com/forum/showthread.php?t=82311&goto=nextnewest