public void event(UserRequest ureq, Component source, Event event) {
if (source == showOtherUsers) {
// show list of other online users that are connected to jabber server
ControllerCreator ctrlCreator = new ControllerCreator() {
public Controller createController(UserRequest lureq, WindowControl lwControl) {
ConnectedClientsListController clientsListCtr = new ConnectedClientsListController(lureq, lwControl);
LayoutMain3ColsController mainLayoutCtr = new LayoutMain3ColsController(lureq, lwControl, null, null, clientsListCtr.getInitialComponent(), null);
mainLayoutCtr.addDisposableChildController(clientsListCtr);
return mainLayoutCtr;
}
};
//wrap the content controller into a full header layout