Index: lams_tool_larsrc/src/java/org/lamsfoundation/lams/tool/rsrc/web/action/AuthoringAction.java
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/src/java/org/lamsfoundation/lams/tool/rsrc/web/action/AuthoringAction.java,v
diff -u -r1.34 -r1.35
--- lams_tool_larsrc/src/java/org/lamsfoundation/lams/tool/rsrc/web/action/AuthoringAction.java 31 Aug 2006 06:39:02 -0000 1.34
+++ lams_tool_larsrc/src/java/org/lamsfoundation/lams/tool/rsrc/web/action/AuthoringAction.java 1 Sep 2006 02:47:00 -0000 1.35
@@ -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
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/src/java/org/lamsfoundation/lams/tool/rsrc/web/form/ResourceForm.java,v
diff -u -r1.9 -r1.10
--- lams_tool_larsrc/src/java/org/lamsfoundation/lams/tool/rsrc/web/form/ResourceForm.java 28 Aug 2006 07:23:13 -0000 1.9
+++ lams_tool_larsrc/src/java/org/lamsfoundation/lams/tool/rsrc/web/form/ResourceForm.java 1 Sep 2006 02:47:00 -0000 1.10
@@ -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
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag,v
diff -u -r1.7 -r1.8
--- lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag 18 Aug 2006 07:02:04 -0000 1.7
+++ lams_tool_larsrc/web/WEB-INF/tags/AuthoringButton.tag 1 Sep 2006 02:47:00 -0000 1.8
@@ -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
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/WEB-INF/tags/Attic/FCKEditor.tag,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ lams_tool_larsrc/web/WEB-INF/tags/FCKEditor.tag 1 Sep 2006 02:47:00 -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}
+
+
+
+
+
Fisheye: Tag 1.6 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 1.6 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
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/WEB-INF/tlds/fckeditor/Attic/FCKeditor.tld,v
diff -u -r1.1 -r1.2
--- lams_tool_larsrc/web/WEB-INF/tlds/fckeditor/FCKeditor.tld 24 Mar 2006 06:23:57 -0000 1.1
+++ lams_tool_larsrc/web/WEB-INF/tlds/fckeditor/FCKeditor.tld 1 Sep 2006 02:47:01 -0000 1.2
@@ -14,6 +14,7 @@
id
true
+ true
basePath
Index: lams_tool_larsrc/web/WEB-INF/tlds/lams/lams.tld
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/WEB-INF/tlds/lams/lams.tld,v
diff -u -r1.7 -r1.8
--- lams_tool_larsrc/web/WEB-INF/tlds/lams/lams.tld 28 Aug 2006 02:29:43 -0000 1.7
+++ lams_tool_larsrc/web/WEB-INF/tlds/lams/lams.tld 1 Sep 2006 02:47:00 -0000 1.8
@@ -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
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/pages/authoring/authoring.jsp,v
diff -u -r1.19 -r1.20
--- lams_tool_larsrc/web/pages/authoring/authoring.jsp 31 Aug 2006 06:39:02 -0000 1.19
+++ lams_tool_larsrc/web/pages/authoring/authoring.jsp 1 Sep 2006 02:47:00 -0000 1.20
@@ -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
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/pages/authoring/basic.jsp,v
diff -u -r1.18 -r1.19
--- lams_tool_larsrc/web/pages/authoring/basic.jsp 25 Aug 2006 02:41:04 -0000 1.18
+++ lams_tool_larsrc/web/pages/authoring/basic.jsp 1 Sep 2006 02:47:00 -0000 1.19
@@ -65,11 +65,21 @@
- |
+
+
+
+
+
+ |
-
+
+
+
+
|
Index: lams_tool_larsrc/web/pages/authoring/instructions.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/pages/authoring/Attic/instructions.jsp,v
diff -u -r1.10 -r1.11
--- lams_tool_larsrc/web/pages/authoring/instructions.jsp 28 Aug 2006 07:23:13 -0000 1.10
+++ lams_tool_larsrc/web/pages/authoring/instructions.jsp 1 Sep 2006 02:47:00 -0000 1.11
@@ -3,7 +3,7 @@
-
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+ |
+
+
+
+
+
+ <%@ include file="parts/instructionfilelist.jsp"%>
+
+ |
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+
+ |
+
+
+
Index: lams_tool_larsrc/web/pages/authoring/parts/instructionfilelist.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_larsrc/web/pages/authoring/parts/Attic/instructionfilelist.jsp,v
diff -u -r1.1 -r1.2
--- lams_tool_larsrc/web/pages/authoring/parts/instructionfilelist.jsp 28 Aug 2006 07:23:14 -0000 1.1
+++ lams_tool_larsrc/web/pages/authoring/parts/instructionfilelist.jsp 1 Sep 2006 02:47:00 -0000 1.2
@@ -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
+
+