ContextEntry ce = BusinessControlFactory.getInstance().createContextEntry(ores);
WindowControl bwControl = BusinessControlFactory.getInstance().createBusinessWindowControl(ce, getWindowControl());
//Simple way to "register" the new ContextEntry although only a VelocityPage was flipped.
Controller dummy = new BasicController(ureq, bwControl) {
@Override
protected void event(UserRequest ureq, Component source, Event event) {
// TODO Auto-generated method stub
}
@Override
protected void doDispose() {
// TODO Auto-generated method stub
}
};
dummy.dispose();
dummy = null;
}