private void putControllerToPanel(UserRequest ureq, WindowControl wControl, int ctrNr) {
if (aftctrls.get(ctrNr) == null) return;
actualCtrNr = ctrNr;
wiz.setCurStep(ctrNr + 1);
Map<String, Object> mapEntry = aftctrls.get(ctrNr);
AutoCreator ctrCreator = null;
if (mapEntry.containsKey(CONTROLLER_KEY)) {
ctrCreator = (AutoCreator) mapEntry.get(CONTROLLER_KEY);
} else {
throw new RuntimeException("at least a controller must be defined");
}
actualForceUser = false;
if (mapEntry.containsKey(FORCEUSER_KEY)) {
actualForceUser = Boolean.valueOf(mapEntry.get(FORCEUSER_KEY).toString());
}
actCtrl = ctrCreator.createController(ureq, wControl);
listenTo(actCtrl);
if (mapEntry.containsKey(I18NINTRO_KEY)) {
String[] introComb = ((String) mapEntry.get(I18NINTRO_KEY)).split(":");
vC.contextPut("introPkg", introComb[0]);
vC.contextPut("introKey", introComb[1]);