Mathias Weisheit
12 Feb 2010, 5:56 AM
If I use the singlecategory for filtering the viewentries the sourcecode will be that:
var ExtndApp = function() {
return {
init : function(){
this.ui = new Ext.nd.DominoUI({
uiOutline : {
outlineName: 'ActivityTicketsWeb',
useArrows : true,
showIcons : false
//viewDefaults: {
// selModelConfig: {type: 'checkbox'}
//}
},
uiView : {
viewName: 'ActivityTicketsTodayWeb',
viewTitle: 'ActivityTicketsTodayWeb',
//selModelConfig: {type: 'checkbox'},
showSearch: true,
showActionbar : true,
showSingleCategory :strSingleCat, //Restriction / Filtering for Username
showCategoryComboBox : false,
dateTimeFormats : {
dateFormat : 'd/m/y',
timeFormat : 'h:i:s A',
dateTimeFormat : 'Y-M-d h:i:s A'
}
}
});
} // init
} // return
}();
Ext.onReady(ExtndApp.init, ExtndApp, true);
It works with the startview.
But if I open an other view form the outline the filtering is inactive! How can I achieve the the filtering is always present?
I think we must make any changes to the Open function form the outline object.
What do you think about this?
var ExtndApp = function() {
return {
init : function(){
this.ui = new Ext.nd.DominoUI({
uiOutline : {
outlineName: 'ActivityTicketsWeb',
useArrows : true,
showIcons : false
//viewDefaults: {
// selModelConfig: {type: 'checkbox'}
//}
},
uiView : {
viewName: 'ActivityTicketsTodayWeb',
viewTitle: 'ActivityTicketsTodayWeb',
//selModelConfig: {type: 'checkbox'},
showSearch: true,
showActionbar : true,
showSingleCategory :strSingleCat, //Restriction / Filtering for Username
showCategoryComboBox : false,
dateTimeFormats : {
dateFormat : 'd/m/y',
timeFormat : 'h:i:s A',
dateTimeFormat : 'Y-M-d h:i:s A'
}
}
});
} // init
} // return
}();
Ext.onReady(ExtndApp.init, ExtndApp, true);
It works with the startview.
But if I open an other view form the outline the filtering is inactive! How can I achieve the the filtering is always present?
I think we must make any changes to the Open function form the outline object.
What do you think about this?