Index: lams_tool_larsrc/src/java/org/lamsfoundation/lams/tool/rsrc/web/action/AuthoringAction.java =================================================================== diff -u -red04e2e75728d635ec5c4530bcebe69ab32d9cdb -r47fb5ad7605db0ab109adcaef649179e1b068a82 --- lams_tool_larsrc/src/java/org/lamsfoundation/lams/tool/rsrc/web/action/AuthoringAction.java (.../AuthoringAction.java) (revision ed04e2e75728d635ec5c4530bcebe69ab32d9cdb) +++ lams_tool_larsrc/src/java/org/lamsfoundation/lams/tool/rsrc/web/action/AuthoringAction.java (.../AuthoringAction.java) (revision 47fb5ad7605db0ab109adcaef649179e1b068a82) @@ -365,7 +365,11 @@ List items = null; Resource resource = null; ResourceForm resourceForm = (ResourceForm)form; - + + // Get contentFolderID and save to form. + String contentFolderID = WebUtil.readStrParam(request, AttributeNames.PARAM_CONTENT_FOLDER_ID); + resourceForm.setContentFolderID(contentFolderID); + //initial Session Map SessionMap sessionMap = new SessionMap(); request.getSession().setAttribute(sessionMap.getSessionID(), sessionMap); @@ -1057,4 +1061,4 @@ } -} +} \ No newline at end of file Index: lams_tool_larsrc/src/java/org/lamsfoundation/lams/tool/rsrc/web/form/ResourceForm.java =================================================================== diff -u -r671e0f31315ba99ec13f82789869ce2a01e0ea04 -r47fb5ad7605db0ab109adcaef649179e1b068a82 --- lams_tool_larsrc/src/java/org/lamsfoundation/lams/tool/rsrc/web/form/ResourceForm.java (.../ResourceForm.java) (revision 671e0f31315ba99ec13f82789869ce2a01e0ea04) +++ lams_tool_larsrc/src/java/org/lamsfoundation/lams/tool/rsrc/web/form/ResourceForm.java (.../ResourceForm.java) (revision 47fb5ad7605db0ab109adcaef649179e1b068a82) @@ -53,6 +53,7 @@ //Forum fields private String sessionMapID; + private String contentFolderID; private int currentTab; private FormFile offlineFile; private FormFile onlineFile; @@ -128,5 +129,13 @@ this.sessionMapID = sessionMapID; } + public String getContentFolderID() { + return contentFolderID; + } + public void setContentFolderID(String contentFolderID) { + this.contentFolderID = contentFolderID; + } + + } Index: lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag =================================================================== diff -u -red2ba1bbc68b8f3ed22c009b0942ae6967b290a2 -r47fb5ad7605db0ab109adcaef649179e1b068a82 --- lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision ed2ba1bbc68b8f3ed22c009b0942ae6967b290a2) +++ lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 47fb5ad7605db0ab109adcaef649179e1b068a82) @@ -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_larsrc/web/WEB-INF/tags/FCKEditor.tag =================================================================== diff -u --- lams_tool_larsrc/web/WEB-INF/tags/FCKEditor.tag (revision 0) +++ lams_tool_larsrc/web/WEB-INF/tags/FCKEditor.tag (revision 47fb5ad7605db0ab109adcaef649179e1b068a82) @@ -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 47fb5ad7605db0ab109adcaef649179e1b068a82 refers to a dead (removed) revision in file `lams_tool_larsrc/web/WEB-INF/tags/HTMLEditor.tag'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 47fb5ad7605db0ab109adcaef649179e1b068a82 refers to a dead (removed) revision in file `lams_tool_larsrc/web/WEB-INF/tags/SetEditor.tag'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_larsrc/web/WEB-INF/tlds/fckeditor/FCKeditor.tld =================================================================== diff -u -r36d1e75abd559af0c4ec769ee5dd353f9ed4ffb7 -r47fb5ad7605db0ab109adcaef649179e1b068a82 --- lams_tool_larsrc/web/WEB-INF/tlds/fckeditor/FCKeditor.tld (.../FCKeditor.tld) (revision 36d1e75abd559af0c4ec769ee5dd353f9ed4ffb7) +++ lams_tool_larsrc/web/WEB-INF/tlds/fckeditor/FCKeditor.tld (.../FCKeditor.tld) (revision 47fb5ad7605db0ab109adcaef649179e1b068a82) @@ -14,6 +14,7 @@ id true + true basePath Index: lams_tool_larsrc/web/WEB-INF/tlds/lams/lams.tld =================================================================== diff -u -r0b4522df8c21db9a904d7433219ce62c0ffa3773 -r47fb5ad7605db0ab109adcaef649179e1b068a82 --- lams_tool_larsrc/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 0b4522df8c21db9a904d7433219ce62c0ffa3773) +++ lams_tool_larsrc/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 47fb5ad7605db0ab109adcaef649179e1b068a82) @@ -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_larsrc/web/pages/authoring/authoring.jsp =================================================================== diff -u -red04e2e75728d635ec5c4530bcebe69ab32d9cdb -r47fb5ad7605db0ab109adcaef649179e1b068a82 --- lams_tool_larsrc/web/pages/authoring/authoring.jsp (.../authoring.jsp) (revision ed04e2e75728d635ec5c4530bcebe69ab32d9cdb) +++ lams_tool_larsrc/web/pages/authoring/authoring.jsp (.../authoring.jsp) (revision 47fb5ad7605db0ab109adcaef649179e1b068a82) @@ -34,12 +34,7 @@ selectTab(tag.value); else selectTab(1); //select the default tab; - - initEditor("Title"); - initEditor("Instructions"); - initEditor("OnlineInstruction"); - initEditor("OfflineInstruction"); - + } function doSelectTab(tabId) { @@ -123,6 +118,7 @@ + @@ -147,13 +143,13 @@ --%> + customiseSessionID="${formBean.sessionMapID}" + contentFolderID="${formBean.contentFolderID}" />

- Index: lams_tool_larsrc/web/pages/authoring/basic.jsp =================================================================== diff -u -rc25a2c783e51d05045d1fb61981c169357cd3e98 -r47fb5ad7605db0ab109adcaef649179e1b068a82 --- lams_tool_larsrc/web/pages/authoring/basic.jsp (.../basic.jsp) (revision c25a2c783e51d05045d1fb61981c169357cd3e98) +++ lams_tool_larsrc/web/pages/authoring/basic.jsp (.../basic.jsp) (revision 47fb5ad7605db0ab109adcaef649179e1b068a82) @@ -65,11 +65,21 @@ - + Index: lams_tool_larsrc/web/pages/authoring/instructions.jsp =================================================================== diff -u -r671e0f31315ba99ec13f82789869ce2a01e0ea04 -r47fb5ad7605db0ab109adcaef649179e1b068a82 --- lams_tool_larsrc/web/pages/authoring/instructions.jsp (.../instructions.jsp) (revision 671e0f31315ba99ec13f82789869ce2a01e0ea04) +++ lams_tool_larsrc/web/pages/authoring/instructions.jsp (.../instructions.jsp) (revision 47fb5ad7605db0ab109adcaef649179e1b068a82) @@ -3,7 +3,7 @@ - - -
+
+ +
+ +
- +
+ +
+
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- -
- <%@ 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_larsrc/web/pages/authoring/parts/instructionfilelist.jsp =================================================================== diff -u -r671e0f31315ba99ec13f82789869ce2a01e0ea04 -r47fb5ad7605db0ab109adcaef649179e1b068a82 --- lams_tool_larsrc/web/pages/authoring/parts/instructionfilelist.jsp (.../instructionfilelist.jsp) (revision 671e0f31315ba99ec13f82789869ce2a01e0ea04) +++ lams_tool_larsrc/web/pages/authoring/parts/instructionfilelist.jsp (.../instructionfilelist.jsp) (revision 47fb5ad7605db0ab109adcaef649179e1b068a82) @@ -1,65 +1,65 @@ -<%@ 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 + +