Index: lams_build/lib/lams/lams-contentrepository.jar =================================================================== RCS file: /usr/local/cvsroot/lams_build/lib/lams/lams-contentrepository.jar,v diff -u -r1.29 -r1.30 Binary files differ Index: lams_build/lib/lams/lams.jar =================================================================== RCS file: /usr/local/cvsroot/lams_build/lib/lams/lams.jar,v diff -u -r1.397 -r1.398 Binary files differ Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_central/.settings/org.eclipse.core.resources.prefs'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_central/src/java/org/lamsfoundation/lams/authoring/ObjectExtractor.java =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/java/org/lamsfoundation/lams/authoring/ObjectExtractor.java,v diff -u -r1.88 -r1.89 --- lams_central/src/java/org/lamsfoundation/lams/authoring/ObjectExtractor.java 4 Dec 2013 16:03:11 -0000 1.88 +++ lams_central/src/java/org/lamsfoundation/lams/authoring/ObjectExtractor.java 17 Jan 2014 22:37:15 -0000 1.89 @@ -413,12 +413,6 @@ if (keyExists(table, WDDXTAGS.DATE_READ_ONLY)) { learningDesign.setDateReadOnly(WDDXProcessor.convertToDate(table, WDDXTAGS.DATE_READ_ONLY)); } - if (keyExists(table, WDDXTAGS.OFFLINE_INSTRUCTIONS)) { - learningDesign.setOfflineInstructions(WDDXProcessor.convertToString(table, WDDXTAGS.OFFLINE_INSTRUCTIONS)); - } - if (keyExists(table, WDDXTAGS.ONLINE_INSTRUCTIONS)) { - learningDesign.setOnlineInstructions(WDDXProcessor.convertToString(table, WDDXTAGS.ONLINE_INSTRUCTIONS)); - } if (keyExists(table, WDDXTAGS.HELP_TEXT)) { learningDesign.setHelpText(WDDXProcessor.convertToString(table, WDDXTAGS.HELP_TEXT)); } @@ -1736,10 +1730,6 @@ activity.setDescription((String) JsonUtil.opt(activityDetails, AuthoringJsonTags.DESCRIPTION)); activity.setTitle((String) JsonUtil.opt(activityDetails, AuthoringJsonTags.ACTIVITY_TITLE)); activity.setHelpText((String) JsonUtil.opt(activityDetails, AuthoringJsonTags.HELP_TEXT)); - - // to be removed soon - activity.setDefineLater(false); - activity.setRunOffline(false); activity.setXcoord(getCoord(activityDetails, AuthoringJsonTags.XCOORD)); activity.setYcoord(getCoord(activityDetails, AuthoringJsonTags.YCOORD)); @@ -1850,9 +1840,6 @@ if (keyExists(activityDetails, WDDXTAGS.ORDER_ID)) { activity.setOrderId(WDDXProcessor.convertToInteger(activityDetails, WDDXTAGS.ORDER_ID)); } - if (keyExists(activityDetails, WDDXTAGS.DEFINE_LATER)) { - activity.setDefineLater(WDDXProcessor.convertToBoolean(activityDetails, WDDXTAGS.DEFINE_LATER)); - } activity.setLearningDesign(learningDesign); @@ -1871,9 +1858,6 @@ activity.setCreateDateTime(modificationDate); } - if (keyExists(activityDetails, WDDXTAGS.RUN_OFFLINE)) { - activity.setRunOffline(WDDXProcessor.convertToBoolean(activityDetails, WDDXTAGS.RUN_OFFLINE)); - } if (keyExists(activityDetails, WDDXTAGS.ACTIVITY_CATEGORY_ID)) { activity.setActivityCategoryID(WDDXProcessor.convertToInteger(activityDetails, WDDXTAGS.ACTIVITY_CATEGORY_ID)); Index: lams_central/src/java/org/lamsfoundation/lams/authoring/service/AuthoringService.java =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/java/org/lamsfoundation/lams/authoring/service/AuthoringService.java,v diff -u -r1.99 -r1.100 --- lams_central/src/java/org/lamsfoundation/lams/authoring/service/AuthoringService.java 29 Nov 2013 13:32:52 -0000 1.99 +++ lams_central/src/java/org/lamsfoundation/lams/authoring/service/AuthoringService.java 17 Jan 2014 22:37:16 -0000 1.100 @@ -735,9 +735,7 @@ gate.setApplyGrouping(false); // not nullable so default to false gate.setGroupingSupportType(Activity.GROUPING_SUPPORT_OPTIONAL); gate.setOrderId(null); - gate.setDefineLater(Boolean.FALSE); gate.setCreateDateTime(new Date()); - gate.setRunOffline(Boolean.FALSE); gate.setReadOnly(Boolean.TRUE); gate.setLearningDesign(design); @@ -901,21 +899,7 @@ for (Iterator i = activities.iterator(); i.hasNext();) { Activity activity = (Activity) i.next(); - if (activity.isInitialised()) { - if (!activity.isActivityReadOnly() && activity.isToolActivity()) { - // Activity is initialised so it was set up previously. So - // its tool content will be okay - // but the run offline flags and define later flags might - // have been changed, so they need to be updated - // Content ID shouldn't change, but we update it in case it - // does change while we update the status flags. - ToolActivity toolActivity = (ToolActivity) activityDAO.getActivityByActivityId(activity - .getActivityId()); - Long newContentId = lamsCoreToolService.notifyToolOfStatusFlags(toolActivity); - toolActivity.setToolContentId(newContentId); - } - - } else { + if (! activity.isInitialised()) { // this is a new activity - need to set up the content, do any // scheduling, etc // always have to copy the tool content, even though it may @@ -931,7 +915,7 @@ if (activity.isToolActivity()) { ToolActivity toolActivity = (ToolActivity) activityDAO.getActivityByActivityId(activity .getActivityId()); - Long newContentId = lamsCoreToolService.notifyToolToCopyContent(toolActivity, true, null); + Long newContentId = lamsCoreToolService.notifyToolToCopyContent(toolActivity, null); toolActivity.setToolContentId(newContentId); // LDEV-2510 init tool sessions for support activities added during live edit @@ -1142,10 +1126,8 @@ String customCSV) { try { ToolActivity toolActivity = (ToolActivity) activity; - // copy the content, but don't set the define later flags if it is - // preview - Long newContentId = lamsCoreToolService.notifyToolToCopyContent(toolActivity, - ldCopyType != LearningDesign.COPY_TYPE_PREVIEW, customCSV); + // copy the content + Long newContentId = lamsCoreToolService.notifyToolToCopyContent(toolActivity, customCSV); toolActivity.setToolContentId(newContentId); // clear read only field @@ -1241,11 +1223,8 @@ && (newSequenceActivity.getBranchEntries().size() > 0)) { Activity parentActivity = newSequenceActivity.getParentActivity(); - if (parentActivity.isChosenBranchingActivity() - || (parentActivity.isGroupBranchingActivity() && (parentActivity.getDefineLater() != null) && parentActivity - .getDefineLater().booleanValue())) { - // Don't have any preset up entries for a teacher chosen - // or a define later group based branching. + if (parentActivity.isChosenBranchingActivity()) { + // Don't have any preset up entries for a teacher chosen. // Must be copying a design that was run previously. newSequenceActivity.getBranchEntries().clear(); @@ -2042,7 +2021,7 @@ LearningDesign learningDesign = new LearningDesign(null, null, null, learningDesignTitle, null, null, 1, false, false, null, null, null, new Date(), Configuration.get(ConfigurationKeys.SERVER_VERSION_NUMBER), user, - user, null, null, null, null, null, null, null, null, null, null, contentFolderID, false, null, 1); + user, null, null, null, null, null, null, null, null, contentFolderID, false, null, 1); WorkspaceFolder folder = null; Index: lams_central/src/java/org/lamsfoundation/lams/authoring/web/LamsAuthoringFinishAction.java =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/java/org/lamsfoundation/lams/authoring/web/LamsAuthoringFinishAction.java,v diff -u -r1.11 -r1.12 --- lams_central/src/java/org/lamsfoundation/lams/authoring/web/LamsAuthoringFinishAction.java 25 Jul 2013 05:55:30 -0000 1.11 +++ lams_central/src/java/org/lamsfoundation/lams/authoring/web/LamsAuthoringFinishAction.java 17 Jan 2014 22:37:15 -0000 1.12 @@ -69,12 +69,8 @@ private static final String TOOL_SIGNATURE = "signature"; private static final String CONFIRM_ACTION = "confirm"; - private static final String CANCEL_ACTION = "cancel"; - private static final String RE_EDIT_URL = "reEditUrl"; - private static final String PARAM_DEFINE_LATER = "defineLater"; - /** * Action method, will handle save/cancel action. */ @@ -112,14 +108,7 @@ } response.sendRedirect(nextUrl); } - if (StringUtils.equals(action, CANCEL_ACTION) && mode.isTeacher()) { - String signature = request.getParameter(TOOL_SIGNATURE); - Long toolContentId = new Long(WebUtil.readLongParam(request, AttributeNames.PARAM_TOOL_CONTENT_ID)); - ToolContentManager contentManager = (ToolContentManager) findToolService(signature); - contentManager.setAsDefineLater(toolContentId, false); - } - return null; } Index: lams_central/src/java/org/lamsfoundation/lams/web/PortraitSaveAction.java =================================================================== RCS file: /usr/local/cvsroot/lams_central/src/java/org/lamsfoundation/lams/web/PortraitSaveAction.java,v diff -u -r1.10 -r1.11 --- lams_central/src/java/org/lamsfoundation/lams/web/PortraitSaveAction.java 11 Apr 2011 12:36:26 -0000 1.10 +++ lams_central/src/java/org/lamsfoundation/lams/web/PortraitSaveAction.java 17 Jan 2014 22:37:15 -0000 1.11 @@ -112,8 +112,7 @@ if ((file != null) && !StringUtils.isEmpty(fileName)) { try { fileName = fileName.substring(0, fileName.indexOf('.')) + ".jpg"; - node = getCentralToolContentHandler().uploadFile(is, fileName, file.getContentType(), - IToolContentHandler.TYPE_ONLINE); + node = getCentralToolContentHandler().uploadFile(is, fileName, file.getContentType()); is.close(); } catch (Exception e) { request.setAttribute("errorMessage", e.getMessage()); @@ -162,7 +161,7 @@ // write to content repository String fileName = user.getFullName() + " portrait.jpg"; - NodeKey node = getCentralToolContentHandler().uploadFile(is, fileName, "image/jpeg", IToolContentHandler.TYPE_ONLINE); + NodeKey node = getCentralToolContentHandler().uploadFile(is, fileName, "image/jpeg"); is.close(); log.debug("saved file with uuid: " + node.getUuid() + " and version: " + node.getVersion()); Index: lams_common/.classpath =================================================================== RCS file: /usr/local/cvsroot/lams_common/.classpath,v diff -u -r1.24 -r1.25 --- lams_common/.classpath 4 Jul 2013 11:35:26 -0000 1.24 +++ lams_common/.classpath 17 Jan 2014 22:37:09 -0000 1.25 @@ -5,7 +5,7 @@ - + Index: lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/learningdesign/Activity.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/learningdesign/Activity.hbm.xml,v diff -u -r1.54 -r1.55 --- lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/learningdesign/Activity.hbm.xml 12 Feb 2011 18:37:40 -0000 1.54 +++ lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/learningdesign/Activity.hbm.xml 17 Jan 2014 22:37:09 -0000 1.55 @@ -51,18 +51,10 @@ @hibernate.property column="order_id" length="11" - - @hibernate.property column="define_later_flag" length="4" not-null="true" - - @hibernate.property column="create_date_time" length="19" not-null="true" - - @hibernate.property column="run_offline_flag" length="4" not-null="true" - - @hibernate.property column="parent_ui_id" length="11" Index: lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/learningdesign/LearningDesign.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/learningdesign/LearningDesign.hbm.xml,v diff -u -r1.21 -r1.22 --- lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/learningdesign/LearningDesign.hbm.xml 10 Jan 2012 15:42:02 -0000 1.21 +++ lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/learningdesign/LearningDesign.hbm.xml 17 Jan 2014 22:37:09 -0000 1.22 @@ -161,14 +161,6 @@ @hibernate.property column ="last_modified_date_time" - - @hibernate.property column="offline_instructions" length="65535" - - - - @hibernate.property column="online_instructions" length="65535" - - @hibernate.property column="content_folder_id" length="32" Index: lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/tool/BasicToolVO.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/tool/BasicToolVO.hbm.xml,v diff -u -r1.4 -r1.5 --- lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/tool/BasicToolVO.hbm.xml 23 Oct 2006 23:58:53 -0000 1.4 +++ lams_common/conf/hibernate/mappings/org/lamsfoundation/lams/tool/BasicToolVO.hbm.xml 17 Jan 2014 22:37:09 -0000 1.5 @@ -77,23 +77,6 @@ length="65535" - - - - - - @hibernate.property - column="supports_run_offline_flag" - length="1" - not-null="true" - - - Index: lams_learning/web/css/main.css =================================================================== RCS file: /usr/local/cvsroot/lams_learning/web/css/main.css,v diff -u -r1.4 -r1.5 --- lams_learning/web/css/main.css 4 Oct 2013 11:45:07 -0000 1.4 +++ lams_learning/web/css/main.css 17 Jan 2014 22:37:27 -0000 1.5 @@ -14,6 +14,12 @@ margin: auto; } +#progressBarDiv text, #progressBarDiv tspan, #progressBarDiv span, #progressBarDiv image, #progressBarDiv img{ +margin: 10px; +padding: 10px; +border: 10px solid blue; +} + #contentFrame { border: none; overflow: auto; Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_learning/web/exportPortfolio/offline.jsp'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/ContributeDTOFactory.java =================================================================== RCS file: /usr/local/cvsroot/lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/ContributeDTOFactory.java,v diff -u -r1.5 -r1.6 --- lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/ContributeDTOFactory.java 5 Dec 2011 22:04:28 -0000 1.5 +++ lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/ContributeDTOFactory.java 17 Jan 2014 22:37:13 -0000 1.6 @@ -41,75 +41,77 @@ public class ContributeDTOFactory { - - /** Get the Contribute DTO for this activity. As a SimpleActivity - * it only returns a contribute DTO if there is a contribution entry. - * @throws LamsToolServiceException - */ - public static ContributeActivityDTO getContributeActivityDTO(Long lessonID, SimpleActivity activity, ILamsCoreToolService toolService) throws LamsToolServiceException - { - ContributeActivityDTO dto = null; - SimpleActivityStrategy strategy = activity.getSimpleActivityStrategy(); - if ( strategy != null ) { - dto = addContributionURLS(lessonID, activity, strategy, toolService); - } - return dto; + /** + * Get the Contribute DTO for this activity. As a SimpleActivity it only returns a contribute DTO if there is a + * contribution entry. + * + * @throws LamsToolServiceException + */ + public static ContributeActivityDTO getContributeActivityDTO(Long lessonID, SimpleActivity activity, + ILamsCoreToolService toolService) throws LamsToolServiceException { + ContributeActivityDTO dto = null; + SimpleActivityStrategy strategy = activity.getSimpleActivityStrategy(); + if (strategy != null) { + dto = addContributionURLS(lessonID, activity, strategy, toolService); } + return dto; + } - private static ContributeActivityDTO addContributionURLS(Long lessonID, Activity activity, IContributionTypeStrategy strategy, ILamsCoreToolService toolService) { - ContributeActivityDTO dto = null; - Integer[] contributionType = strategy.getContributionType(); - if ( contributionType.length > 0 ) { - dto = new ContributeActivityDTO(activity); - for(int i=0;i 0) { + dto = new ContributeActivityDTO(activity); + for (int i = 0; i < contributionType.length; i++) { + Integer contributionTypeEntry = contributionType[i]; + String url = getURL(lessonID, activity, contributionTypeEntry, toolService); + dto.addContribution(contributionTypeEntry, url); + } } + return dto; + } - private static String getURL(Long lessonID, Activity activity, Integer contributionTypeEntry, ILamsCoreToolService toolService) throws LamsToolServiceException { + private static String getURL(Long lessonID, Activity activity, Integer contributionTypeEntry, + ILamsCoreToolService toolService) throws LamsToolServiceException { - String url = null; - if ( activity.isToolActivity() ) { - ToolActivity toolActivity = (ToolActivity) activity; - if ( contributionTypeEntry.equals(ContributionTypes.MODERATION) ) { - url = toolService.getToolModerateURL(toolActivity); - } else if ( contributionTypeEntry.equals(ContributionTypes.DEFINE_LATER) ) { - url = toolService.getToolDefineLaterURL(toolActivity); - } - } - - if ( url == null ) { - /* PERMISSION_GAE || SYNC_GATE || SCHEDULE_GATE || CHOSEN_GROUPING || - CONTRIBUTION || CHOSEN_BRANCHING || - Unknown contribution type || (!ToolActivity && ( MODERATION || DEFINE_LATER)) */ - url = toolService.getToolContributionURL(lessonID, activity); - } - return url != null ? WebUtil.convertToFullURL(url) : null; + String url = null; + if (activity.isToolActivity()) { + ToolActivity toolActivity = (ToolActivity) activity; + if (contributionTypeEntry.equals(ContributionTypes.MODERATION)) { + url = toolService.getToolModerateURL(toolActivity); + } } - /** Get the Contribute DTO for this activity. As a complex activity it always returns - * a DTO - as it may be needed to enclose a child activity. - */ - public static ContributeActivityDTO getContributeActivityDTO(Long lessonID, ComplexActivity activity, - ILamsCoreToolService toolService, Vector childActivities) - { - ContributeActivityDTO dto = null; - ComplexActivityStrategy strategy = activity.getComplexActivityStrategy(); - if ( strategy != null ) { - dto = addContributionURLS(lessonID, activity, strategy, toolService); - if ( childActivities != null && childActivities.size() > 0 ) { - if ( dto == null ) { - dto = new ContributeActivityDTO(activity); - } - dto.setChildActivities(childActivities); - } + if (url == null) { + /* + * PERMISSION_GATE || SYNC_GATE || SCHEDULE_GATE || CHOSEN_GROUPING || CONTRIBUTION || CHOSEN_BRANCHING || + * Unknown contribution type || (!ToolActivity && MODERATION) + */ + url = toolService.getToolContributionURL(lessonID, activity); + } + return url != null ? WebUtil.convertToFullURL(url) : null; + } + + /** + * Get the Contribute DTO for this activity. As a complex activity it always returns a DTO - as it may be needed to + * enclose a child activity. + */ + public static ContributeActivityDTO getContributeActivityDTO(Long lessonID, ComplexActivity activity, + ILamsCoreToolService toolService, Vector childActivities) { + ContributeActivityDTO dto = null; + ComplexActivityStrategy strategy = activity.getComplexActivityStrategy(); + if (strategy != null) { + dto = addContributionURLS(lessonID, activity, strategy, toolService); + if (childActivities != null && childActivities.size() > 0) { + if (dto == null) { + dto = new ContributeActivityDTO(activity); } - return dto; - + dto.setChildActivities(childActivities); + } } + return dto; + } + } Index: lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/dto/ContributeActivityDTO.java =================================================================== RCS file: /usr/local/cvsroot/lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/dto/ContributeActivityDTO.java,v diff -u -r1.3 -r1.4 --- lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/dto/ContributeActivityDTO.java 1 Apr 2013 18:03:58 -0000 1.3 +++ lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/dto/ContributeActivityDTO.java 17 Jan 2014 22:37:13 -0000 1.4 @@ -131,8 +131,7 @@ public void setContributionType(Integer contributionType) { this.contributionType = contributionType; boolean isReq = contributionType != null - && (contributionType.equals(ContributionTypes.DEFINE_LATER) - || contributionType.equals(ContributionTypes.PERMISSION_GATE) + && (contributionType.equals(ContributionTypes.PERMISSION_GATE) || contributionType.equals(ContributionTypes.CHOSEN_GROUPING) || contributionType .equals(ContributionTypes.CHOSEN_BRANCHING)); Index: lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/IMonitoringService.java =================================================================== RCS file: /usr/local/cvsroot/lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/IMonitoringService.java,v diff -u -r1.105 -r1.106 --- lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/IMonitoringService.java 16 Jan 2014 16:48:20 -0000 1.105 +++ lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/IMonitoringService.java 17 Jan 2014 22:37:13 -0000 1.106 @@ -466,21 +466,6 @@ throws IOException, LamsToolServiceException; /** - * This method returns the define later url for the given activity. - * - * @param lessonID - * The lesson_id of the Lesson for which the information has to be fetched. - * @param activityID - * The activity_id of the Activity whose URL will be returned - * @param userID - * The user id of the user requesting the url. - * @return String the url - * @throws IOException - */ - public String getActivityDefineLaterURL(Long lessonID, Long activityID, Integer userID) throws IOException, - LamsToolServiceException; - - /** * This method returns the monitor url for the given activity * * @param lessonID @@ -710,7 +695,7 @@ /** * Match group(s) to a branch. Doesn't necessarily check if the group is already assigned to another branch. Use for - * Group Based Branching and define later. + * Group Based Branching. * * @param sequenceActivityID * Activity id of the sequenceActivity representing this branch Index: lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/MonitoringService.java =================================================================== RCS file: /usr/local/cvsroot/lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/MonitoringService.java,v diff -u -r1.186 -r1.187 --- lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/MonitoringService.java 16 Jan 2014 16:48:19 -0000 1.186 +++ lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/service/MonitoringService.java 17 Jan 2014 22:37:13 -0000 1.187 @@ -2067,30 +2067,6 @@ /** * (non-Javadoc) * - * @see org.lamsfoundation.lams.monitoring.service.IMonitoringService#getActivityDefineLaterURL(java.lang.Long) - */ - @Override - public String getActivityDefineLaterURL(Long lessonID, Long activityID, Integer userID) throws IOException, - LamsToolServiceException { - Lesson lesson = lessonDAO.getLesson(lessonID); - checkOwnerOrStaffMember(userID, lesson, "get activity define later url"); - - Activity activity = activityDAO.getActivityByActivityId(activityID); - if (activity == null) { - MonitoringService.log.error("getActivityMonitorURL activity missing. Activity ID " + activityID - + " activity " + activity); - - } else if (activity.isToolActivity()) { - ToolActivity toolActivity = (ToolActivity) activity; - return lamsCoreToolService.getToolDefineLaterURL(toolActivity); - - } - return null; - } - - /** - * (non-Javadoc) - * * @see org.lamsfoundation.lams.monitoring.service.IMonitoringService#getActivityMonitorURL(java.lang.Long) */ @Override @@ -2887,7 +2863,7 @@ /** * Match group(s) to a branch. Doesn't necessarily check if the group is already assigned to another branch. Use for - * Group Based Branching and define later. + * Group Based Branching. * * @param sequenceActivityID * Activity id of the sequenceActivity representing this branch Index: lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/web/MonitoringAction.java =================================================================== RCS file: /usr/local/cvsroot/lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/web/MonitoringAction.java,v diff -u -r1.108 -r1.109 --- lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/web/MonitoringAction.java 16 Jan 2014 16:48:19 -0000 1.108 +++ lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/web/MonitoringAction.java 17 Jan 2014 22:37:13 -0000 1.109 @@ -805,18 +805,6 @@ return redirectToURL(mapping, response, url); } - /** Calls the server to bring up the activity's define later page. Assumes destination is a new window */ - public ActionForward getActivityDefineLaterURL(ActionMapping mapping, ActionForm form, HttpServletRequest request, - HttpServletResponse response) throws IOException, LamsToolServiceException { - IMonitoringService monitoringService = MonitoringServiceProxy.getMonitoringService(getServlet() - .getServletContext()); - Long activityID = new Long(WebUtil.readLongParam(request, "activityID")); - Long lessonID = new Long(WebUtil.readLongParam(request, AttributeNames.PARAM_LESSON_ID)); - - String url = monitoringService.getActivityDefineLaterURL(lessonID, activityID, getUserId()); - return redirectToURL(mapping, response, url); - } - public ActionForward moveLesson(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException { IMonitoringService monitoringService = MonitoringServiceProxy.getMonitoringService(getServlet() @@ -846,7 +834,6 @@ HttpSession ss = SessionManager.getSession(); UserDTO user = (UserDTO) ss.getAttribute(AttributeNames.USER); - Locale userLocale = new Locale(user.getLocaleLanguage(), user.getLocaleCountry()); if ((lessonDTO.getCreateDateTime() != null) && (lessonDTO.getCreateDateTime() != WDDXTAGS.DATE_NULL_VALUE)) { DateFormat sfm = new SimpleDateFormat("yyyyMMdd_HHmmss"); lessonDTO.setCreateDateTimeStr(sfm.format(lessonDTO.getCreateDateTime())); @@ -866,11 +853,6 @@ .getContributeEntries()) { if (contributeEntry.getIsRequired()) { requiredContributeActivities.add(contributeActivity); - if (ContributionTypes.DEFINE_LATER.equals(contributeEntry.getContributionType())) { - String url = WebUtil.appendParameterToURL(contributeEntry.getURL(), - AttributeNames.PARAM_CONTENT_FOLDER_ID, lessonDTO.getContentFolderID()); - contributeEntry.setURL(url); - } } } } Index: lams_monitoring/web/monitor.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_monitoring/web/monitor.jsp,v diff -u -r1.22 -r1.23 --- lams_monitoring/web/monitor.jsp 27 Dec 2013 13:40:26 -0000 1.22 +++ lams_monitoring/web/monitor.jsp 17 Jan 2014 22:37:13 -0000 1.23 @@ -287,9 +287,6 @@ - - - Index: lams_monitoring/web/branching/groupedSelection.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_monitoring/web/branching/groupedSelection.jsp,v diff -u -r1.3 -r1.4 --- lams_monitoring/web/branching/groupedSelection.jsp 3 Jun 2008 02:36:03 -0000 1.3 +++ lams_monitoring/web/branching/groupedSelection.jsp 17 Jan 2014 22:37:13 -0000 1.4 @@ -1,4 +1,4 @@ - <%-- +<%-- Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) License Information: http://lamsfoundation.org/licensing/lams/2.0/