// the surrounding resource, but for launching we always need the
// repoentry
// if it is a course, we also take the repository entry, since a course
// can only be called by a repoentry
RepositoryManager rm = RepositoryManager.getInstance();
RepositoryEntry re = rm.lookupRepositoryEntry(olatResourceable, false);
MainLayoutController ctrl = RepositoyUIFactory.createLaunchController(re, initialViewIdentifier, ureq, wControl);
if (ctrl != null) return ctrl;
} else if (OresHelper.isOfType(olatResourceable, AssessmentManager.class)) {
// gets called by subscription launcher
//FIXME:fj:make it clearer here: subscriptioncontext is always given by