Index: lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/service/QaServicePOJO.java =================================================================== RCS file: /usr/local/cvsroot/lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/service/QaServicePOJO.java,v diff -u -r1.60 -r1.61 --- lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/service/QaServicePOJO.java 27 Jun 2006 18:32:17 -0000 1.60 +++ lams_tool_laqa/src/java/org/lamsfoundation/lams/tool/qa/service/QaServicePOJO.java 29 Jun 2006 17:46:28 -0000 1.61 @@ -952,19 +952,23 @@ public boolean studentActivityOccurredGlobal(QaContent qaContent) throws QaApplicationException { logger.debug("doing studentActivityOccurredGlobal : " + qaContent); - Iterator questionIterator=qaContent.getQaQueContents().iterator(); - while (questionIterator.hasNext()) - { - QaQueContent qaQueContent=(QaQueContent)questionIterator.next(); - logger.debug("iterated question : " + qaQueContent); - Iterator responsesIterator=qaQueContent.getQaUsrResps().iterator(); - while (responsesIterator.hasNext()) - { - logger.debug("there is at least one response"); - return true; - } - } - logger.debug("there is no response for this content"); + + if (qaContent != null) + { + Iterator questionIterator=qaContent.getQaQueContents().iterator(); + while (questionIterator.hasNext()) + { + QaQueContent qaQueContent=(QaQueContent)questionIterator.next(); + logger.debug("iterated question : " + qaQueContent); + Iterator responsesIterator=qaQueContent.getQaUsrResps().iterator(); + while (responsesIterator.hasNext()) + { + logger.debug("there is at least one response"); + return true; + } + } + logger.debug("there is no response for this content"); + } return false; } Index: lams_tool_laqa/web/authoring/AdvancedContent.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_laqa/web/authoring/AdvancedContent.jsp,v diff -u -r1.7 -r1.8 --- lams_tool_laqa/web/authoring/AdvancedContent.jsp 29 Jun 2006 00:41:25 -0000 1.7 +++ lams_tool_laqa/web/authoring/AdvancedContent.jsp 29 Jun 2006 17:46:28 -0000 1.8 @@ -28,99 +28,88 @@ <%@ taglib uri="fck-editor" prefix="FCK" %> <%@ taglib uri="tags-lams" prefix="lams" %> + - - - - - - - - + - - - - - - +
- + + : - + - + -
- + + : - + - + -
- + + : - + - + -
- + + : - - - + + -
- + + : - + + -
- + + : - - + + -
Index: lams_tool_laqa/web/authoring/BasicContent.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_laqa/web/authoring/BasicContent.jsp,v diff -u -r1.17 -r1.18 --- lams_tool_laqa/web/authoring/BasicContent.jsp 29 Jun 2006 00:41:25 -0000 1.17 +++ lams_tool_laqa/web/authoring/BasicContent.jsp 29 Jun 2006 17:46:28 -0000 1.18 @@ -27,20 +27,20 @@ <%@ taglib uri="fck-editor" prefix="FCK" %> <%@ taglib uri="tags-lams" prefix="lams" %> -

+

@@ -49,21 +49,21 @@
- +
- +
- - - @@ -76,7 +76,7 @@ - + \ No newline at end of file Index: lams_tool_laqa/web/authoring/InstructionsContent.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_laqa/web/authoring/Attic/InstructionsContent.jsp,v diff -u -r1.9 -r1.10 --- lams_tool_laqa/web/authoring/InstructionsContent.jsp 29 Jun 2006 00:41:25 -0000 1.9 +++ lams_tool_laqa/web/authoring/InstructionsContent.jsp 29 Jun 2006 17:46:28 -0000 1.10 @@ -37,9 +37,9 @@ - - -
+
+
+
+ Index: lams_tool_laqa/web/authoring/BasicContentViewOnly.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_laqa/web/authoring/Attic/BasicContentViewOnly.jsp,v diff -u -r1.6 -r1.7 --- lams_tool_laqa/web/authoring/BasicContentViewOnly.jsp 7 Apr 2006 00:44:23 -0000 1.6 +++ lams_tool_laqa/web/authoring/BasicContentViewOnly.jsp 29 Jun 2006 17:46:28 -0000 1.7 @@ -28,34 +28,26 @@ <%@ taglib uri="fck-editor" prefix="FCK" %> <%@ taglib uri="tags-lams" prefix="lams" %> - -
- +
- - + - - + - @@ -65,11 +57,9 @@ - + @@ -78,16 +68,16 @@ -
: - + : -
: - + : -
- : + + : - -
: : - -
+
-
+ - + @@ -58,10 +58,9 @@
+ - @@ -71,7 +70,6 @@
@@ -81,14 +79,13 @@ -

- - + + @@ -98,9 +95,8 @@ - +
 
- @@ -109,7 +105,6 @@ - Index: lams_tool_laqa/web/learning/AnswersContent.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_laqa/web/learning/AnswersContent.jsp,v diff -u -r1.7 -r1.8 --- lams_tool_laqa/web/learning/AnswersContent.jsp 25 Jun 2006 23:24:10 -0000 1.7 +++ lams_tool_laqa/web/learning/AnswersContent.jsp 29 Jun 2006 17:46:45 -0000 1.8 @@ -18,22 +18,19 @@ http://www.gnu.org/licenses/gpl.txt --%> -<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %> -<%@ taglib uri="tags-bean" prefix="bean"%> -<%@ taglib uri="tags-html" prefix="html"%> -<%@ taglib uri="tags-logic" prefix="logic" %> -<%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-fmt" prefix="fmt" %> -<%@ taglib uri="fck-editor" prefix="FCK" %> -<%@ taglib uri="tags-lams" prefix="lams" %> - - + - +<%@ include file="/common/taglibs.jsp"%> + - + <bean:message key="label.learning.qa"/> + + <%@ include file="/common/header.jsp"%> + <%@ include file="/common/fckeditorheader.jsp"%> +