*/
public GuestHomeMainController(UserRequest ureq, WindowControl wControl) {
super(ureq, wControl);
olatMenuTree = new MenuTree("olatMenuTree");
TreeModel tm = buildTreeModel();
olatMenuTree.setTreeModel(tm);
olatMenuTree.setSelectedNodeId(tm.getRootNode().getIdent());
olatMenuTree.addListener(this);
welcome = createVelocityContainer("guestwelcome");
// add portal
myPortal = PortalFactory.createPortal("guestportal", getWindowControl(), ureq);
welcome.put("myPortal", myPortal.getInitialComponent());
// Activate correct position in menu
INode firstNode = tm.getRootNode().getChildAt(0);
olatMenuTree.setSelectedNodeId(firstNode.getIdent());
columnLayoutCtr = new LayoutMain3ColsController(ureq, getWindowControl(), olatMenuTree, null, welcome, null);
listenTo(columnLayoutCtr); // cleanup on dispose
// add background image to home site