this.putInitialPanel(layoutCtr.getInitialComponent());
}
public void event(UserRequest ureq, Component source, Event event) {
if (source == pushButton){
VelocityContainer container = this.createVelocityContainer("guidemo-pushpop");
LayoutMain3ColsController layoutCtr = new LayoutMain3ColsController(ureq, getWindowControl(), null, null, container, null);
listenTo(layoutCtr);
windowStack.push(layoutCtr.getInitialComponent());
container.put("guidemo.window.control.push", pushButton);
container.put("guidemo.window.control.pop", popButton);
container.contextPut("stack", getStackHTMLRepresentation());
getWindowControl().pushToMainArea(container);
}
else if (source == popButton){
if (windowStack.isEmpty()) {
fireEvent(ureq, Event.DONE_EVENT);