diff --git a/conf/bb-manifest.xml b/conf/bb-manifest.xml index e69034337fd88f58b6c912f324f317ce2c2a376d..93ad7fff56694901ca5b3713e6f04a1664021bae 100644 --- a/conf/bb-manifest.xml +++ b/conf/bb-manifest.xml @@ -4,7 +4,7 @@ <name value="Courses to Migrate Module"/> <handle value="crs_migrate_bb"/> <description value="Displays a list of courses the user is Instructing and allows them to designate the ones to be migrated to the new server."/> - <version value="0.2.3"/> + <version value="0.2.4"/> <requires> <bbversion value="8.0.0"/> diff --git a/web/module/migrate_form.jsp b/web/module/migrate_form.jsp index 10f8311380c21fa59dedc514c211a4fb113e03b3..9e21650780056d7a526ff725278f055ba863cc12 100644 --- a/web/module/migrate_form.jsp +++ b/web/module/migrate_form.jsp @@ -1,3 +1,4 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" isELIgnored="false" %> <%@ page import="java.io.PrintWriter" %> <%@ page import="java.sql.Connection" %> diff --git a/web/module/view.jsp b/web/module/view.jsp index a12a59cfbedeef277e7283c747c6815a825e4cfd..fd0dc041db76a3d0a8b0a93025b170d8b3edf2c3 100644 --- a/web/module/view.jsp +++ b/web/module/view.jsp @@ -18,24 +18,8 @@ <bbData:context id="ctx"> <% -BbList.Iterator coursesInstructingIterator = null; - -ConnectionManager connectionManager = ConnectionManager.getDefaultInstance(); -Connection dbConnection = connectionManager.getConnection(); -try{ - CourseDbLoader cLoader = (CourseDbLoader) CourseDbLoader.Default.getInstance(); - BbList coursesInstructing = cLoader.loadByUserIdAndCourseMembershipRole(ctx.getUser().getId(), CourseMembership.Role.INSTRUCTOR, dbConnection); - coursesInstructingIterator = coursesInstructing.getFilteringIterator(); -} -catch(Exception e){ - e.printStackTrace(new PrintWriter(out)); -} - -dbConnection.close(); - //uri String proc_uri = PlugInUtil.getUri("unl", "crs_migrate_bb", "module/proc_migrate_form.jsp"); -//pageContext.setAttribute("courses", coursesInstructingIterator); %> <p>Select the courses that should be migrated to the new Blackboard server and click the button below. Migrations will be scheduled to occur overnight. Once a course has been migrated, it will be indicated in list.</p> <form id="unl-crs_migrate_bb-form" method="POST" action="<%= proc_uri %>">