From 3762757580e709f68a1b6bbc0e9a275a84f2ff79 Mon Sep 17 00:00:00 2001 From: fh Date: Sun, 7 Oct 2001 06:36:38 +0000 Subject: [PATCH] added linksImcs feature --- source/mircoders/producer/ProducerNavigation.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/mircoders/producer/ProducerNavigation.java b/source/mircoders/producer/ProducerNavigation.java index 841e26e0..aab7d08f 100755 --- a/source/mircoders/producer/ProducerNavigation.java +++ b/source/mircoders/producer/ProducerNavigation.java @@ -46,9 +46,18 @@ public class ProducerNavigation extends Producer { entityList = topicsModule.getByWhereClause("","title",-1); SimpleList topicList = HTMLTemplateProcessor.makeSimpleList(entityList); + // get the imclinks + entityList = linksImcsModule.getByWhereClause("", "sortpriority, title", -1); + SimpleList imcList = HTMLTemplateProcessor.makeSimpleList(entityList); + + EntityList theParentList = linksImcsModule.getByWhereClause("to_parent_id=NULL", "sortpriority, title", -1); + SimpleList parentList = HTMLTemplateProcessor.makeSimpleList(theParentList); + // put the informations into the navipagemodel naviPageModel = new SimpleHash(); naviPageModel.put("topics", topicList); + naviPageModel.put("imclist", imcList); + naviPageModel.put("parentlist", parentList); htmlFileName = producerDocRoot + "/navigation.inc"; -- 2.11.0