String toolbarId = toolbar.getId(); if(toolbarId==null){ String thisId = this.getId(); if(thisId!=null){ toolbarId=thisId+"_toolbar"; toolbar.setId(toolbarId); } }
	public void setToolbar(WFToolbar toolbar) {		if (isToolbarEmbeddedInTitlebar()) {			if (getTitlebar() != null) {				getFacets().remove(FACET_TOOLBAR);				getTitlebar().setEmbeddedToolbar(toolbar);			}		}		else {			if (getTitlebar() != null) {				getTitlebar().removeEmbeddedToolbar();			}			getFacets().put(FACET_TOOLBAR, toolbar);		}	}