if (tempKey == null) {
// error, there should be an entry
getWindowControl().setError(translate("pwkey.missingentry"));
createEmailForm(ureq, wControl);
// load view in layout
LayoutMain3ColsController layoutCtr = new LayoutMain3ColsController(ureq, getWindowControl(), null, null, myContent, null);
putInitialPanel(layoutCtr.getInitialComponent());
} else {
wic.setCurStep(3);
pwf = new PwChangeForm("pwform", getTranslator());
pwf.addListener(this);
myContent.contextPut("pwdhelp", translate("pwdhelp"));
myContent.contextPut("text", translate("step3.pw.text"));
pwarea.setContent(pwf);
// load view in layout
LayoutMain3ColsController layoutCtr = new LayoutMain3ColsController(ureq, getWindowControl(), null, null, myContent, null);
putInitialPanel(layoutCtr.getInitialComponent());
}
}
}