breckster
25 Apr 2008, 6:36 PM
Any have any ideas how to pass a parameter to open a single category view using the outline in the DominoUI?
Thanks
Breck
Jan K
30 Apr 2008, 1:31 AM
Hi Breck.
I think it depends on how you will obtain the parameter. If it should be a user selection, there has to be a combobox or similar to pick the parameter from. But no matter how you gonna obtain the parameter, you'll have to extend the openEntry function of the Ext.nd.Outline object.
For my own very basic purpose, I've done this ugly hardcoding, because I only needed single category views based on username. It isn't pretty, but it's quick and it works :-)
this.uiView = new Ext.nd.ux.UIView({
layout : this.layout,
viewUrl : viewUrl,
viewParams : "",
container : this.viewPanel,
statusPanel : this.statusPanel,
showCategoryComboBox : false,
showSingleCategory : (viewUrl.indexOf('SingleUserName') > 0)
? Ext.nd.Session.UserName
: null
});
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.