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
===================================================================
diff -u -r19d959536ea84101c37b8a6475bd9c561950b302 -r473da9f790898ea0f8b4fa15f43210882ba60dec
--- lams_tool_task/web/pages/authoring/parts/addtask.jsp (.../addtask.jsp) (revision 19d959536ea84101c37b8a6475bd9c561950b302)
+++ lams_tool_task/web/pages/authoring/parts/addtask.jsp (.../addtask.jsp) (revision 473da9f790898ea0f8b4fa15f43210882ba60dec)
@@ -2,6 +2,18 @@
"http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/common/taglibs.jsp"%>
+
+