TaskLiskItem
.
-// *
-// * @return true if comments are allowed in this TaskLiskItem
, false otherwise.
-// */
-// public boolean isCommentsFilesAllowed() {
-// return isCommentsFilesAllowed;
-// }
-// /**
-// * Sets whether comments are allowed in this TaskLiskItem
.
-// *
-// * @param isCommentsAllowed true if comments are allowed in this TaskLiskItem
, false otherwise.
-// */
-// public void setCommentsFilesAllowed(boolean isCommentsFilesAllowed) {
-// this.isCommentsFilesAllowed = isCommentsFilesAllowed;
-// }
-//
-// /**
-// * Returns whether comments are allowed to be shown to everybody for this TaskLiskItem
.
-// *
-// * @return true if comments are allowed to be shown to everybody for this TaskLiskItem
, false otherwise.
-// */
-// public boolean getShowCommentsToAll() {
-// return showCommentsToAll;
-// }
-// /**
-// * Sets whether comments are allowed to be shown to everybody for this TaskLiskItem
or not.
-// *
-// * @param showCommentsToAll true if comments are allowed to be shown to everybody for this TaskLiskItem
, false otherwise.
-// */
-// public void setShowCommentsToAll(boolean showCommentsToAll) {
-// this.showCommentsToAll = showCommentsToAll;
-// }
+ // The next 2 options always will be true (as it set in jsp). Waiting
+ // for the final decision -- if this options will be needed later.
+ /**
+ * Returns whether comments are allowed in this TaskLiskItem
.
+ *
+ * @return true if comments are allowed in this TaskLiskItem
, false otherwise.
+ */
+ public boolean isCommentsFilesAllowed() {
+ return isCommentsFilesAllowed;
+ }
+ /**
+ * Sets whether comments are allowed in this TaskLiskItem
.
+ *
+ * @param isCommentsAllowed true if comments are allowed in this TaskLiskItem
, false otherwise.
+ */
+ public void setCommentsFilesAllowed(boolean isCommentsFilesAllowed) {
+ this.isCommentsFilesAllowed = isCommentsFilesAllowed;
+ }
+
+ /**
+ * Returns whether comments are allowed to be shown to everybody for this TaskLiskItem
.
+ *
+ * @return true if comments are allowed to be shown to everybody for this TaskLiskItem
, false otherwise.
+ */
+ public boolean getShowCommentsToAll() {
+ return showCommentsToAll;
+ }
+ /**
+ * Sets whether comments are allowed to be shown to everybody for this TaskLiskItem
or not.
+ *
+ * @param showCommentsToAll true if comments are allowed to be shown to everybody for this TaskLiskItem
, false otherwise.
+ */
+ public void setShowCommentsToAll(boolean showCommentsToAll) {
+ this.showCommentsToAll = showCommentsToAll;
+ }
/**
* Returns whether this TaskLiskItem
is a child task.
Index: lams_tool_task/web/pages/authoring/parts/addtask.jsp
===================================================================
RCS file: /usr/local/cvsroot/lams_tool_task/web/pages/authoring/parts/addtask.jsp,v
diff -u -r1.4 -r1.5
--- lams_tool_task/web/pages/authoring/parts/addtask.jsp 13 May 2008 09:22:55 -0000 1.4
+++ lams_tool_task/web/pages/authoring/parts/addtask.jsp 14 May 2008 03:21:04 -0000 1.5
@@ -2,6 +2,18 @@
"http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/common/taglibs.jsp"%>
+
+