From 60bd82ae63fc9ff2625568d44014edcbabe64abf Mon Sep 17 00:00:00 2001 From: pb Date: Fri, 4 Jun 2010 07:16:25 +0000 Subject: [PATCH] =?UTF-8?q?=C3=9Cbernahme=20von=20categorised=20forum=20vo?= =?UTF-8?q?n=20Chris=20Gilbert=20aus=20dem=20contributed=20Zweig=20(wsx=20?= =?UTF-8?q?-=20West=20Sussex)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Damit wird es möglich, ein Forum auch in den Navigationsbaum einzuhängen, nicht nur als Adresse unterhalb von /portal/. Compiliert im Moment noch nicht, da noch Abhängigkeiten zu ccm-ldn-aplaws aufgelöst werden müssen. git-svn-id: https://svn.libreccm.org/ccm/trunk@450 8810af33-2d31-482b-a856-94f89814c4df --- ccm-forum-categorised/application.xml | 31 ++ .../src/ccm-forum-categorised.load | 10 + .../src/ccm-forum-categorized.upgrade | 12 + .../categorisedforum/AssignCategoryView.java | 113 +++++++ .../CategorisedForumComponent.java | 80 +++++ .../CategorisedForumPageBuilder.java | 46 +++ .../CategorisedThreadPageBuilder.java | 38 +++ .../CategorySubtreePageBuilder.java | 44 +++ .../ForumCategorySummary.java | 60 ++++ .../ForumNavigationModel.java | 66 ++++ .../categorisedforum/ForumTermForm.java | 54 ++++ .../categorisedforum/ForumTermPicker.java | 64 ++++ .../categorisedforum/ForumURLFinder.java | 62 ++++ .../categorisedforum/Initializer.java | 89 ++++++ .../xsl/forum-categories.xsl | 298 ++++++++++++++++++ 15 files changed, 1067 insertions(+) create mode 100644 ccm-forum-categorised/application.xml create mode 100644 ccm-forum-categorised/src/ccm-forum-categorised.load create mode 100644 ccm-forum-categorised/src/ccm-forum-categorized.upgrade create mode 100644 ccm-forum-categorised/src/com/arsdigita/categorisedforum/AssignCategoryView.java create mode 100644 ccm-forum-categorised/src/com/arsdigita/categorisedforum/CategorisedForumComponent.java create mode 100644 ccm-forum-categorised/src/com/arsdigita/categorisedforum/CategorisedForumPageBuilder.java create mode 100644 ccm-forum-categorised/src/com/arsdigita/categorisedforum/CategorisedThreadPageBuilder.java create mode 100644 ccm-forum-categorised/src/com/arsdigita/categorisedforum/CategorySubtreePageBuilder.java create mode 100644 ccm-forum-categorised/src/com/arsdigita/categorisedforum/ForumCategorySummary.java create mode 100644 ccm-forum-categorised/src/com/arsdigita/categorisedforum/ForumNavigationModel.java create mode 100644 ccm-forum-categorised/src/com/arsdigita/categorisedforum/ForumTermForm.java create mode 100644 ccm-forum-categorised/src/com/arsdigita/categorisedforum/ForumTermPicker.java create mode 100644 ccm-forum-categorised/src/com/arsdigita/categorisedforum/ForumURLFinder.java create mode 100644 ccm-forum-categorised/src/com/arsdigita/categorisedforum/Initializer.java create mode 100644 ccm-forum-categorised/web/__ccm__/apps/categorised-forum/xsl/forum-categories.xsl diff --git a/ccm-forum-categorised/application.xml b/ccm-forum-categorised/application.xml new file mode 100644 index 000000000..ce5610de5 --- /dev/null +++ b/ccm-forum-categorised/application.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + The Red Hat Web Application Framework is a platform for writing + database-backed web applications in Java. + + + diff --git a/ccm-forum-categorised/src/ccm-forum-categorised.load b/ccm-forum-categorised/src/ccm-forum-categorised.load new file mode 100644 index 000000000..5bd65289a --- /dev/null +++ b/ccm-forum-categorised/src/ccm-forum-categorised.load @@ -0,0 +1,10 @@ + + + +
+ + + + + + diff --git a/ccm-forum-categorised/src/ccm-forum-categorized.upgrade b/ccm-forum-categorised/src/ccm-forum-categorized.upgrade new file mode 100644 index 000000000..adaacfeba --- /dev/null +++ b/ccm-forum-categorised/src/ccm-forum-categorized.upgrade @@ -0,0 +1,12 @@ + + + + + + + + + +   + + Add categories + + + + + + +
+ There are no categories assigned in this context +
+
+ +
    + + +
  • +   + + +   + Remove + +
  • +
    +
+
+
+ + + + + + + + + + + + + + + + + +
+ + + +
+
+
+

Selected Categories

+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + catSelect('', ' + + ', '') + + + + + + + + + + + + + + + + +
+
+
+ + + +
+
+ + + + + + + + + + + + + + + + + + ' + \' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +