public ArticleBlock(String titleKey, WFTabListener taskbarListener) { super(titleKey); setId(ARTICLE_BLOCK_ID); getTitlebar().setValueRefTitle(true); setMainAreaStyleClass(null);  String bref = WFPage.CONTENT_BUNDLE + ".";  WFTabBar tb = new WFTabBar(); tb.setId(TASKBAR_ID); add(tb); tb.addButtonVB(TASK_ID_EDIT, bref + "edit", getEditContainer()); tb.addButtonVB(TASK_ID_PREVIEW, bref + "preview", getPreviewContainer()); tb.addButtonVB(TASK_ID_MESSAGES, bref + "messages", getMessageContainer()); tb.setSelectedButtonId(TASK_ID_EDIT); if (taskbarListener != null) { tb.addTaskbarListener(taskbarListener); }
public ArticleBlock() {
	public ArticleBlock(String titleKey, WFTabListener taskbarListener) {		super(titleKey);		setId(ARTICLE_BLOCK_ID);		getTitlebar().setValueRefTitle(true);		setMainAreaStyleClass(null);				String bref = WFPage.CONTENT_BUNDLE + ".";				WFTabBar tb = new WFTabBar();		tb.setId(TASKBAR_ID);		add(tb);		tb.addButtonVB(TASK_ID_EDIT, bref + "edit", getEditContainer());		tb.addButtonVB(TASK_ID_PREVIEW, bref + "preview", getPreviewContainer());		tb.addButtonVB(TASK_ID_MESSAGES, bref + "messages", getMessageContainer());		tb.setSelectedButtonId(TASK_ID_EDIT);		if (taskbarListener != null) {			tb.addTaskbarListener(taskbarListener);		}	}