String basePath = this.getBaseFolderPath(); if(basePath!=null){ UIParameter basePathParameter = new UIParameter(); basePathParameter.setName(PARAMETER_BASE_FOLDER_PATH); basePathParameter.setValue(basePath); link.getChildren().add(basePathParameter); }
	public void update(){		Set s = getActions().keySet();		for (Iterator iter = s.iterator(); iter.hasNext();) {			String action = (String) iter.next();			ContentItemToolbarButton link = (ContentItemToolbarButton)getToolbarButton(action);			if(link==null){				addToolbarButton(action);			} else {				link.setValue(getActionURL(action,getResourcePath(),getActionHandlerIdentifier()));								link.setResourcePath(getResourcePath());				String categories = this.getCategories();				if(categories!=null){					UIParameter categoriesParameter = new UIParameter();					categoriesParameter.setName(PARAMETER_CATEGORIES);					categoriesParameter.setValue(categories);					link.getChildren().add(categoriesParameter);				}				link.setAction(action);			}		}	}