tb.addButtonVB(TASK_ID_CONTENT, bref + "content", getContentPerspective()); tb.addButtonVB(TASK_ID_EDIT, bref + "edit", getEditPerspective());
WFTab buttonContent = tb.addButtonVB(TASK_ID_CONTENT, bref + "content", getContentPerspective()); buttonContent.addActionListener(this); WFTab buttonEdit = tb.addButtonVB(TASK_ID_EDIT, bref + "edit", getEditPerspective()); buttonEdit.addActionListener(this); tb.addTaskbarListener(this);   UICommand debugButton = new HtmlCommandButton(); debugButton.setId("debugbutton"); debugButton.setValue("debug"); debugButton.setImmediate(true);  debugButton.addActionListener(this); this.getChildren().add(debugButton);
	protected UIComponent getMainTaskbar() {		String bref = WFPage.CONTENT_BUNDLE + ".";		WFTabBar tb = new WFTabBar();		tb.setMainAreaStyleClass(null);		tb.setId(MAIN_TASKBAR_ID);		tb.addButtonVB(TASK_ID_CONTENT, bref + "content", getContentPerspective());		tb.addButtonVB(TASK_ID_EDIT, bref + "edit", getEditPerspective());		return tb;	}