Skip to content

Commit

Permalink
#1 CP FIX from v1 f555b3b
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeach47 committed Sep 24, 2018
1 parent 7658832 commit abe1832
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 15 deletions.
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ jspApiVersion=2.3.3
servletApiVersion=4.0.1
junitVersion=4.12
# All building blocks / web services are re-versioned when this changes.
artifactVersion=2.0.0-SNAPSHOT
artifactVersion=2.0.0-SNAPSHOT

6 changes: 3 additions & 3 deletions oeqPrimaryB2/src/main/webapp/admin/config.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
<%@page import="blackboard.platform.session.BbSessionManagerService"%>
<%@page import="blackboard.platform.BbServiceManager"%>
<%@page import="blackboard.platform.context.ContextManager"%>
<%@page import="com.tle.blackboard.buildingblock.data.WrappedUser"%>
<%@page import="com.tle.blackboard.buildingblock.Configuration"%>
<%@page import="com.tle.blackboard.common.BbUtil"%>
<%@page import="org.apereo.openequella.integration.blackboard.buildingblock.data.WrappedUser"%>
<%@page import="org.apereo.openequella.integration.blackboard.buildingblock.Configuration"%>
<%@page import="org.apereo.openequella.integration.blackboard.common.BbUtil"%>
<%@ taglib uri="/bbNG" prefix="bbng"%>
<%@ taglib uri="/tle" prefix="tle"%>

Expand Down
2 changes: 1 addition & 1 deletion oeqPrimaryB2/src/main/webapp/contribute/create.jsp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page contentType="text/html;charset=UTF-8" errorPage="/error.jsp" %>
<%@page import="com.tle.blackboard.buildingblock.data.WrappedContent"%>
<%@page import="org.apereo.openequella.integration.blackboard.buildingblock.data.WrappedContent"%>

<%@ taglib uri="/tle" prefix="tle"%>
<%@ taglib uri="/bbNG" prefix="bbng"%>
Expand Down
8 changes: 4 additions & 4 deletions oeqPrimaryB2/src/main/webapp/contribute/modify.jsp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page contentType="text/html;charset=UTF-8" errorPage="/error.jsp" %>
<%@page import="com.tle.blackboard.buildingblock.data.WrappedContent" %>
<%@page import="com.tle.blackboard.common.BbUtil" %>
<%@page import="org.apereo.openequella.integration.blackboard.buildingblock.data.WrappedContent" %>
<%@page import="org.apereo.openequella.integration.blackboard.common.BbUtil" %>

<%@ taglib uri="/bbNG" prefix="bbng"%>
<%@ taglib uri="/tle" prefix="tle"%>
Expand All @@ -19,8 +19,8 @@
</bbng:pageHeader>

<form name="the_form" action="modify_proc.jsp" method="post">
<input type="hidden" name="<%=com.tle.blackboard.common.BbUtil.CONTENT_ID%>" value="<%=content.getId().toExternalString()%>">
<input type="hidden" name="<%=com.tle.blackboard.common.BbUtil.COURSE_ID%>" value="<%=content.getCourse().getId().toExternalString()%>">
<input type="hidden" name="<%=org.apereo.openequella.integration.blackboard.common.BbUtil.CONTENT_ID%>" value="<%=content.getId().toExternalString()%>">
<input type="hidden" name="<%=org.apereo.openequella.integration.blackboard.common.BbUtil.COURSE_ID%>" value="<%=content.getCourse().getId().toExternalString()%>">

<bbng:dataCollection>
<bbng:step title="Content Information">
Expand Down
2 changes: 1 addition & 1 deletion oeqPrimaryB2/src/main/webapp/contribute/modify_proc.jsp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page contentType="text/html;charset=UTF-8" errorPage="/error.jsp" %>
<%@page import="com.tle.blackboard.buildingblock.data.WrappedContent" %>
<%@page import="org.apereo.openequella.integration.blackboard.buildingblock.data.WrappedContent" %>

<%@ taglib uri="/bbNG" prefix="bbng"%>
<%@ taglib uri="/tle" prefix="tle"%>
Expand Down
2 changes: 1 addition & 1 deletion oeqPrimaryB2/src/main/webapp/contribute/remove.jsp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@page contentType="text/html;charset=UTF-8" errorPage="/error.jsp" %>
<%@page import="com.tle.blackboard.buildingblock.data.WrappedContent" %>
<%@page import="org.apereo.openequella.integration.blackboard.buildingblock.data.WrappedContent" %>

<%
new WrappedContent(request).remove(request);
Expand Down
8 changes: 4 additions & 4 deletions oeqPrimaryB2/src/main/webapp/portal/view.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<%@page import="java.util.Map"%>
<%@page import="java.net.URLEncoder"%>
<%@page
import="com.tle.blackboard.buildingblock.data.WrappedUser,com.tle.blackboard.buildingblock.data.WrappedUser.TaskLink" %>
import="org.apereo.openequella.integration.blackboard.buildingblock.data.WrappedUser,org.apereo.openequella.integration.blackboard.buildingblock.data.WrappedUser.TaskLink" %>

<%@taglib uri="http://struts.apache.org/tags-nested" prefix="n"%>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
Expand All @@ -17,11 +17,11 @@
WrappedUser user;
private String link(String path) throws Exception
{
String equellaUrl = com.tle.blackboard.buildingblock.Configuration.instance().getEquellaUrl();
String equellaUrl = org.apereo.openequella.integration.blackboard.buildingblock.Configuration.instance().getEquellaUrl();
String p = path;
if (!path.startsWith(equellaUrl))
{
p = com.tle.blackboard.common.PathUtils.urlPath(com.tle.blackboard.buildingblock.Configuration.instance().getEquellaUrl(), path);
p = org.apereo.openequella.integration.blackboard.common.PathUtils.urlPath(org.apereo.openequella.integration.blackboard.buildingblock.Configuration.instance().getEquellaUrl(), path);
}
if (p.indexOf('?') == -1)
{
Expand All @@ -38,7 +38,7 @@ private String link(String path) throws Exception
String rel = null;
String dir = null;
user = WrappedUser.getUser(request);
rel = com.tle.blackboard.common.BbUtil.getBlockRelativePath();
rel = org.apereo.openequella.integration.blackboard.common.BbUtil.getBlockRelativePath();
dir = rel + "portal/";
try
{
Expand Down

0 comments on commit abe1832

Please sign in to comment.