> Can I use a result handler to modify the navigator result so the
> unwanted list items are removed, and then the templates can just print
> the news cases that still are in the result list?

ResultHandlers are isolated to handle results within one search command. 
NavigationItems can be comprised from the results of various commands, 
and for that reason a RunHandler is used instead of a ResultHandler.

So NavigationItems are propagated (by their relevant 
NavigationController) through the NavigationRunHandler.

So you can write a RunHandler that does the trimming you need, eg 
NewsCaseTrimNavigatorsRunHandler.

Just make sure to place it after the NavigationRunHandler.
(Well you can't avoid this because NavigationRunHandler is hardcoded to 
be first. It will in time be moved to modes.xml but we'll make sure it 
comes first then too).

~mck




-- 
"If you want to know what a man's like, take a good look at how he treats
his inferiors, not his equals." J K Rowling
| www.semb.wever.org | www.sesat.no | www.sesam.no |

_______________________________________________
Kernel-development mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-development

Reply via email to