Index: lams_tool_task/conf/language/lams/ApplicationResources_en_AU.properties
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_task/conf/language/lams/ApplicationResources_en_AU.properties,v
diff -u -r1.3 -r1.4
--- lams_tool_task/conf/language/lams/ApplicationResources_en_AU.properties 7 Apr 2008 07:33:31 -0000 1.3
+++ lams_tool_task/conf/language/lams/ApplicationResources_en_AU.properties 10 Apr 2008 07:51:58 -0000 1.4
@@ -62,13 +62,8 @@
label.authoring.up =Move Up
label.authoring.down =Move down
label.authoring.conditions.add.condition =Add Condition
-label.authoring.conditions =
-label.authoring.conditions =
-label.authoring.conditions =
-label.authoring.conditions =
label.authoring.conditions.list.title =Conditions
label.authoring.conditions.condition.name =Condition Name
-
authoring.exception =There is a problem in task list authoring page, the reason is {0}
authoring.msg.cancel.save =Do you want to close this window without saving?
authoring.msg.no.tasks.save =There must be at least one task to be saved.
@@ -86,6 +81,7 @@
error.msg.invaid.param.upload =InvalidParameterException occured while trying to upload File.
error.msg.repository =Repository occurs exception while trying to upload file.
error.msg.default.content.not.find =Could not retrieve default content record for this tool.
+warning.msg.authoring.deletion.affect.conditions =Deletion of this item may affect existing conditions. Do you want to proceed?
label.learning.title =Task List Learning
label.learning.heading =Task List
label.resoruce.to.review =Resources to view
Index: lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/web/servlet/ExportServlet.java
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/web/servlet/ExportServlet.java,v
diff -u -r1.4 -r1.5
--- lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/web/servlet/ExportServlet.java 2 Apr 2008 05:07:56 -0000 1.4
+++ lams_tool_task/src/java/org/lamsfoundation/lams/tool/taskList/web/servlet/ExportServlet.java 10 Apr 2008 07:51:58 -0000 1.5
@@ -245,67 +245,8 @@
}
}
}
-
-// //save two pictures describing either the taskLisiItem is done or not
-// handler.saveFile(attachment.getFileUuid(), FileUtil.getFullPath(directoryName, "images/completeitem.gif"));
-// handler.saveFile(attachment.getFileUuid(), FileUtil.getFullPath(directoryName, "images/incompleteitem.gif"));
-
-
-// String directoryPath = directoryName + File.separatorChar + "images";
-// File dir = new File(directoryPath);
-// if (!dir.mkdirs()) {
-// logger.error("Unable to create directory for export portfolio: " + directoryPath);
-// }
-//
-//
-//
-// String completeItemName = "completeitem.gif";
-// File completeItemFile = new File(directoryPath + completeItemName);
-// copyFile(directoryPath + completeItemName, completeItemFile);
-//
-// String incompleteItemName = "incompleteitem.gif";
-// File incompleteItemFile = new File(directoryPath + completeItemName);
-// copyFile(directoryPath + incompleteItemName, incompleteItemFile);
}
-// private void copyFile(String filePath, File file) throws IOException {
-//
-// FileInputStream is = new FileInputStream(file);
-// OutputStream os = null;
-// try {
-// int bufLen = 1024; // 1 Kbyte
-// byte[] buf = new byte[1024]; // output buffer
-// os = new FileOutputStream(filePath);
-//
-// BufferedInputStream in = new BufferedInputStream(is);
-// int len = 0;
-// while((len = in.read(buf,0,bufLen)) != -1){
-// os.write(buf,0,len);
-// }
-//
-// } catch ( IOException e ) {
-// String message = "Unable to write out file needed for export portfolio. File was "+filePath;
-// logger.error(message,e);
-// throw e;
-//
-// } finally {
-//
-// try {
-// if ( is != null ) is.close();
-// } catch (IOException e1) {
-// String message = "Unable to close input export portfolio file due to IOException";
-// logger.warn(message,e1);
-// }
-//
-// try {
-// if ( os != null ) os.close();
-// } catch (IOException e2) {
-// String message = "Unable to close output export portfolio file due to IOException";
-// logger.warn(message,e2);
-// }
-// }
-// }
-
/**
* {@inheritDoc}
*/
Index: lams_tool_task/web/pages/authoring/basic.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/authoring/basic.jsp,v
diff -u -r1.2 -r1.3
--- lams_tool_task/web/pages/authoring/basic.jsp 7 Apr 2008 07:33:31 -0000 1.2
+++ lams_tool_task/web/pages/authoring/basic.jsp 10 Apr 2008 07:51:58 -0000 1.3
@@ -34,28 +34,38 @@
}
}
- function editItem(idx,sessionMapID){
- var reqIDVar = new Date();
+ function editItem(idx, sessionMapID){
+ var reqIDVar = new Date();
var url = "