Index: lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/AuthoringAction.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/AuthoringAction.java,v diff -u -r1.53 -r1.54 --- lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/AuthoringAction.java 30 Aug 2006 06:37:39 -0000 1.53 +++ lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/AuthoringAction.java 31 Aug 2006 07:51:15 -0000 1.54 @@ -172,8 +172,10 @@ request.getSession().setAttribute(sessionMap.getSessionID(), sessionMap); Long contentId = new Long(WebUtil.readLongParam(request,AttributeNames.PARAM_TOOL_CONTENT_ID)); + String contentFolderID = WebUtil.readStrParam(request, AttributeNames.PARAM_CONTENT_FOLDER_ID); ForumForm forumForm = (ForumForm)form; forumForm.setSessionMapID(sessionMap.getSessionID()); + forumForm.setContentFolderID(contentFolderID); //get back the topic list and display them on page forumService = getForumManager(); Index: lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/forms/ForumForm.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/forms/ForumForm.java,v diff -u -r1.15 -r1.16 --- lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/forms/ForumForm.java 30 Aug 2006 06:37:36 -0000 1.15 +++ lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/forms/ForumForm.java 31 Aug 2006 07:51:15 -0000 1.16 @@ -63,6 +63,7 @@ private Long toolContentID; private String currentTab; private String sessionMapID; + private String contentFolderID; private FormFile offlineFile; private FormFile onlineFile; @@ -177,5 +178,11 @@ public void setSessionMapID(String sessionMapID) { this.sessionMapID = sessionMapID; } + public String getContentFolderID() { + return contentFolderID; + } + public void setContentFolderID(String contentFolderID) { + this.contentFolderID = contentFolderID; + } } Index: lams_tool_forum/web/WEB-INF/lams.tld =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/Attic/lams.tld,v diff -u -r1.10 -r1.11 --- lams_tool_forum/web/WEB-INF/lams.tld 28 Aug 2006 04:44:39 -0000 1.10 +++ lams_tool_forum/web/WEB-INF/lams.tld 31 Aug 2006 07:51:15 -0000 1.11 @@ -287,14 +287,10 @@ /WEB-INF/tags/TabBody.tag - HTMLEditor - /WEB-INF/tags/HTMLEditor.tag + FCKEditor + /WEB-INF/tags/FCKEditor.tag - SetEditor - /WEB-INF/tags/SetEditor.tag - - AuthoringButton /WEB-INF/tags/AuthoringButton.tag @@ -310,14 +306,8 @@ ExportPortOutput /WEB-INF/tags/ExportPortOutput.tag - + Date /WEB-INF/tags/Date.tag - - DefineLater - /WEB-INF/tags/DefineLater.tag - - - Index: lams_tool_forum/web/WEB-INF/fckeditor/tlds/FCKeditor.tld =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/fckeditor/tlds/Attic/FCKeditor.tld,v diff -u -r1.2 -r1.3 --- lams_tool_forum/web/WEB-INF/fckeditor/tlds/FCKeditor.tld 10 Mar 2006 00:48:23 -0000 1.2 +++ lams_tool_forum/web/WEB-INF/fckeditor/tlds/FCKeditor.tld 31 Aug 2006 07:51:15 -0000 1.3 @@ -14,6 +14,7 @@ id true + true basePath Index: lams_tool_forum/web/WEB-INF/tags/AuthoringButton.tag =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/tags/AuthoringButton.tag,v diff -u -r1.5 -r1.6 --- lams_tool_forum/web/WEB-INF/tags/AuthoringButton.tag 18 Aug 2006 06:59:44 -0000 1.5 +++ lams_tool_forum/web/WEB-INF/tags/AuthoringButton.tag 31 Aug 2006 07:51:15 -0000 1.6 @@ -37,6 +37,7 @@ <%@ attribute name="formID" required="true" rtexprvalue="true" %> <%@ attribute name="toolSignature" required="true" rtexprvalue="true" %> <%@ attribute name="toolContentID" required="true" rtexprvalue="true" %> +<%@ attribute name="contentFolderID" required="true" rtexprvalue="true" %> <%@ attribute name="clearSessionActionUrl" required="true" rtexprvalue="true" %> <%-- Optional attribute --%> @@ -64,7 +65,7 @@ -

+

Index: lams_tool_forum/web/WEB-INF/tags/FCKEditor.tag =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/WEB-INF/tags/Attic/FCKEditor.tag,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_forum/web/WEB-INF/tags/FCKEditor.tag 31 Aug 2006 07:51:15 -0000 1.1 @@ -0,0 +1,57 @@ +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-lams" prefix="lams"%> +<%@ taglib uri="fck-editor" prefix="fck"%> + +<%@ attribute name="id" required="true" rtexprvalue="true"%> +<%@ attribute name="value" required="true" rtexprvalue="true"%> +<%@ attribute name="toolbarSet" required="false" rtexprvalue="true"%> +<%@ attribute name="contentFolderID" required="true" rtexprvalue="true"%> + + + + + + + + + + + + + + + ${value} + + + + + Index: lams_tool_forum/web/jsps/authoring/authoring.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/authoring.jsp,v diff -u -r1.24 -r1.25 --- lams_tool_forum/web/jsps/authoring/authoring.jsp 18 Aug 2006 06:59:43 -0000 1.24 +++ lams_tool_forum/web/jsps/authoring/authoring.jsp 31 Aug 2006 07:51:15 -0000 1.25 @@ -1,13 +1,17 @@ <%@ include file="/includes/taglibs.jsp"%> <%@ page import="org.lamsfoundation.lams.tool.forum.util.ForumConstants"%> - + + - - + +

- - -
- <%@ include file="/common/messages.jsp"%> -
- - - - - - + + <%@ include file="/common/messages.jsp"%> + + + + + +
Index: lams_tool_forum/web/jsps/authoring/basic.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/basic.jsp,v diff -u -r1.21 -r1.22 --- lams_tool_forum/web/jsps/authoring/basic.jsp 23 Aug 2006 01:08:21 -0000 1.21 +++ lams_tool_forum/web/jsps/authoring/basic.jsp 31 Aug 2006 07:51:15 -0000 1.22 @@ -1,5 +1,7 @@ <%@ include file="/includes/taglibs.jsp"%> - + @@ -27,36 +29,49 @@ } - +
- -
- + +
+ +
+
- + +
+ +
+ + + <%-- --%>
- -
- - <%@ include file="/jsps/authoring/message/topiclist.jsp"%> -
- + +
+ + <%@ include file="/jsps/authoring/message/topiclist.jsp"%> +
+
Index: lams_tool_forum/web/jsps/authoring/header.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/header.jsp,v diff -u -r1.2 -r1.3 --- lams_tool_forum/web/jsps/authoring/header.jsp 18 Aug 2006 06:59:43 -0000 1.2 +++ lams_tool_forum/web/jsps/authoring/header.jsp 31 Aug 2006 07:51:15 -0000 1.3 @@ -20,11 +20,6 @@ selectTab(tag.value); else selectTab(1); - - initEditor("forum.title"); - initEditor("forum.instructions"); - initEditor("forum.onlineInstructions"); - initEditor("forum.offlineInstructions"); } function doSelectTab(tabId) { Index: lams_tool_forum/web/jsps/authoring/instructions.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/Attic/instructions.jsp,v diff -u -r1.15 -r1.16 --- lams_tool_forum/web/jsps/authoring/instructions.jsp 28 Aug 2006 07:23:22 -0000 1.15 +++ lams_tool_forum/web/jsps/authoring/instructions.jsp 31 Aug 2006 07:51:15 -0000 1.16 @@ -1,8 +1,9 @@ -<%@ include file="/common/taglibs.jsp" %> - - +<%@ include file="/common/taglibs.jsp"%> + + - - -
- ');" style="float:left;width:150px" class="button"> - - + ');" + style="float:left;width:150px" class="button">
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- <%@ include file="parts/instructionfilelist.jsp" %> -
-
- : - - - - - - - -
- -
- -
- <%@ include file="parts/instructionfilelist.jsp" %> -
-
- : - - - - - - - -

 

-
- \ No newline at end of file + + + + + + + + + + + + + + + +
+
+ +
+ +
+ +
+ <%@ include file="parts/instructionfilelist.jsp"%> +
+
+
+ +
+
+ + + + +
+ +
+ + + + + + + + + + + + + + + +
+
+ +
+ +
+ +
+ <%@ include file="parts/instructionfilelist.jsp"%> +
+
+
+ +
+
+ + + + +
+ Index: lams_tool_forum/web/jsps/authoring/parts/instructionfilelist.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_forum/web/jsps/authoring/parts/Attic/instructionfilelist.jsp,v diff -u -r1.1 -r1.2 --- lams_tool_forum/web/jsps/authoring/parts/instructionfilelist.jsp 28 Aug 2006 07:23:22 -0000 1.1 +++ lams_tool_forum/web/jsps/authoring/parts/instructionfilelist.jsp 31 Aug 2006 07:51:15 -0000 1.2 @@ -1,66 +1,66 @@ -<%@ include file="/common/taglibs.jsp" %> -<%@ page import=" org.lamsfoundation.lams.contentrepository.client.IToolContentHandler"%> - +<%@ include file="/common/taglibs.jsp"%> +<%@ page + import="org.lamsfoundation.lams.contentrepository.client.IToolContentHandler"%> + - + - + - - + + <%-- check whehter has target file type --%> - + <%-- Display target file type --%> - +
    -
- - - - - + -
- - - - - - - - - - - - - - - - +
  • + + + + + + + + + + + + + - - + + - - + + -
  • -
    \ No newline at end of file + +