AnsweredAssumed Answered

Uploaded custom building block isn't listed in module list

Question asked by gurmeric.aysegul on Apr 11, 2016
Latest reply on Apr 11, 2016 by gurmeric.aysegul

Hi,

I wrote a custom building block and uploded it to blackboard system.

There are two application definitions and one system tool link for each application and a module def. After uploaded my bb, I can see system tool links but I can't see module in module list.

 

Module's jsp file :

 

<%@ page language="java" contentType="text/html" charset="utf-8" pageEncoding="utf-8" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01/EN" "http://www.w3.org/TR/html4/strict.dtd">

<%@ taglib uri="/bbNG" prefix="bbNG"%>

<bbNG:includedPage ctxId="ctx">

<p>Hello Module Type World</p>

<%blackboard.data.user.User user = ctx.getUser();%>

</bbNG:includedPage>

 

 

Module's controller file :

 

 

 

 

import javax.servlet.http.HttpServletRequest;

import javax.servlet.http.HttpServletResponse;

 

 

import org.springframework.stereotype.Controller;

import org.springframework.ui.ModelMap;

import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestMethod;

 

 

 

 

@Controller

public class ModuleTestController

{

 

 

@RequestMapping( value = { "moduletest" }, method = RequestMethod.GET )

  public String getPage( HttpServletRequest request, HttpServletResponse response, ModelMap model )

  {

 

 

  return "moduletest";

  }

 

}

 

 

Thanks.

Outcomes