Index: lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/AuthoringAction.java =================================================================== diff -u -r77e263b43c7aed360e8dcc46af273db55123bc83 -r72862d19e593b3413e3d25913428d54bc379fde5 --- lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/AuthoringAction.java (.../AuthoringAction.java) (revision 77e263b43c7aed360e8dcc46af273db55123bc83) +++ lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/actions/AuthoringAction.java (.../AuthoringAction.java) (revision 72862d19e593b3413e3d25913428d54bc379fde5) @@ -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 =================================================================== diff -u -r77e263b43c7aed360e8dcc46af273db55123bc83 -r72862d19e593b3413e3d25913428d54bc379fde5 --- lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/forms/ForumForm.java (.../ForumForm.java) (revision 77e263b43c7aed360e8dcc46af273db55123bc83) +++ lams_tool_forum/src/java/org/lamsfoundation/lams/tool/forum/web/forms/ForumForm.java (.../ForumForm.java) (revision 72862d19e593b3413e3d25913428d54bc379fde5) @@ -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/fckeditor/tlds/FCKeditor.tld =================================================================== diff -u -r899e6e7114706bb12cdc7aa09c697cf51137db55 -r72862d19e593b3413e3d25913428d54bc379fde5 --- lams_tool_forum/web/WEB-INF/fckeditor/tlds/FCKeditor.tld (.../FCKeditor.tld) (revision 899e6e7114706bb12cdc7aa09c697cf51137db55) +++ lams_tool_forum/web/WEB-INF/fckeditor/tlds/FCKeditor.tld (.../FCKeditor.tld) (revision 72862d19e593b3413e3d25913428d54bc379fde5) @@ -14,6 +14,7 @@ id true + true basePath Index: lams_tool_forum/web/WEB-INF/lams.tld =================================================================== diff -u -r3598d5bbce42e145fc46a33d70a7bd035b71d8bc -r72862d19e593b3413e3d25913428d54bc379fde5 --- lams_tool_forum/web/WEB-INF/lams.tld (.../lams.tld) (revision 3598d5bbce42e145fc46a33d70a7bd035b71d8bc) +++ lams_tool_forum/web/WEB-INF/lams.tld (.../lams.tld) (revision 72862d19e593b3413e3d25913428d54bc379fde5) @@ -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/tags/AuthoringButton.tag =================================================================== diff -u -red2ba1bbc68b8f3ed22c009b0942ae6967b290a2 -r72862d19e593b3413e3d25913428d54bc379fde5 --- lams_tool_forum/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision ed2ba1bbc68b8f3ed22c009b0942ae6967b290a2) +++ lams_tool_forum/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 72862d19e593b3413e3d25913428d54bc379fde5) @@ -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 =================================================================== diff -u --- lams_tool_forum/web/WEB-INF/tags/FCKEditor.tag (revision 0) +++ lams_tool_forum/web/WEB-INF/tags/FCKEditor.tag (revision 72862d19e593b3413e3d25913428d54bc379fde5) @@ -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} + + + + + Fisheye: Tag 72862d19e593b3413e3d25913428d54bc379fde5 refers to a dead (removed) revision in file `lams_tool_forum/web/WEB-INF/tags/HTMLEditor.tag'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 72862d19e593b3413e3d25913428d54bc379fde5 refers to a dead (removed) revision in file `lams_tool_forum/web/WEB-INF/tags/SetEditor.tag'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_forum/web/jsps/authoring/authoring.jsp =================================================================== diff -u -red2ba1bbc68b8f3ed22c009b0942ae6967b290a2 -r72862d19e593b3413e3d25913428d54bc379fde5 --- lams_tool_forum/web/jsps/authoring/authoring.jsp (.../authoring.jsp) (revision ed2ba1bbc68b8f3ed22c009b0942ae6967b290a2) +++ lams_tool_forum/web/jsps/authoring/authoring.jsp (.../authoring.jsp) (revision 72862d19e593b3413e3d25913428d54bc379fde5) @@ -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 =================================================================== diff -u -r07bc909cfe122031c6236b32088858d4cd295fe9 -r72862d19e593b3413e3d25913428d54bc379fde5 --- lams_tool_forum/web/jsps/authoring/basic.jsp (.../basic.jsp) (revision 07bc909cfe122031c6236b32088858d4cd295fe9) +++ lams_tool_forum/web/jsps/authoring/basic.jsp (.../basic.jsp) (revision 72862d19e593b3413e3d25913428d54bc379fde5) @@ -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 =================================================================== diff -u -red2ba1bbc68b8f3ed22c009b0942ae6967b290a2 -r72862d19e593b3413e3d25913428d54bc379fde5 --- lams_tool_forum/web/jsps/authoring/header.jsp (.../header.jsp) (revision ed2ba1bbc68b8f3ed22c009b0942ae6967b290a2) +++ lams_tool_forum/web/jsps/authoring/header.jsp (.../header.jsp) (revision 72862d19e593b3413e3d25913428d54bc379fde5) @@ -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 =================================================================== diff -u -r671e0f31315ba99ec13f82789869ce2a01e0ea04 -r72862d19e593b3413e3d25913428d54bc379fde5 --- lams_tool_forum/web/jsps/authoring/instructions.jsp (.../instructions.jsp) (revision 671e0f31315ba99ec13f82789869ce2a01e0ea04) +++ lams_tool_forum/web/jsps/authoring/instructions.jsp (.../instructions.jsp) (revision 72862d19e593b3413e3d25913428d54bc379fde5) @@ -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 =================================================================== diff -u -r671e0f31315ba99ec13f82789869ce2a01e0ea04 -r72862d19e593b3413e3d25913428d54bc379fde5 --- lams_tool_forum/web/jsps/authoring/parts/instructionfilelist.jsp (.../instructionfilelist.jsp) (revision 671e0f31315ba99ec13f82789869ce2a01e0ea04) +++ lams_tool_forum/web/jsps/authoring/parts/instructionfilelist.jsp (.../instructionfilelist.jsp) (revision 72862d19e593b3413e3d25913428d54bc379fde5) @@ -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 + +