toolbar.setResourcePath(getResourcePath());
String basePath = getBaseFolderPath(); if(basePath!=null){ toolbar.setBaseFolderPath(basePath); }
	protected void initializeInEncodeBegin(){				notifyManagedBeanOfVariableValues();		ContentListViewerManagedBean bean = getManagedBean();		ContentItemViewer viewer = bean.getContentViewer();//WFUtil.invoke(this.managedBeanId,"getContentViewer");		viewer.setShowRequestedItem(false);		//viewer.setHeadlineAsLink(getHeadlineAsLink());		addContentItemViewer(viewer);				String[] actions = getToolbarActions();		if(actions != null && actions.length > 0){			ContentItemToolbar toolbar = new ContentItemToolbar();			for (int i = 0; i < actions.length; i++) {				toolbar.addToolbarButton(actions[i]);			}			String categories = this.getCategories();			if(categories!=null){				toolbar.setCategories(categories);			}			toolbar.setResourcePath(getResourcePath());			toolbar.setActionHandlerIdentifier(bean.getIWActionURIHandlerIdentifier());//WFUtil.invoke(this.managedBeanId,"getIWActionURIHandlerIdentifier"));			this.setHeader(toolbar);		}				List attachementViewers = bean.getAttachmentViewers();//WFUtil.invoke(this.managedBeanId,"getAttachmentViewers");		if(attachementViewers!=null){			for (ListIterator iter = attachementViewers.listIterator(); iter.hasNext();) {				ContentItemViewer attachmentViewer = (ContentItemViewer) iter.next();				int index = iter.nextIndex();				addAttachmentViewer(attachmentViewer,index);			}		}		initialized = true;	}