System.out.println("type="+ret[i].getType()+"  val="+ret[i].getValues());
	public void processAction(ActionEvent actionEvent) throws AbortProcessingException {		System.out.println("MetadataList action");		UIComponent comp = actionEvent.getComponent();		String var = (String)comp.getAttributes().get("var");		resourcePath = (String)comp.getAttributes().get("resourcePath");		String type = WFUtil.getStringValue(var,"type");				MetadataValueBean[] ret = new MetadataValueBean[0];		try {			IWContext iwc = IWContext.getInstance();			IWSlideSession session = (IWSlideSession)IBOLookup.getSessionInstance(iwc,IWSlideSession.class);			IWSlideService service = (IWSlideService)IBOLookup.getServiceInstance(iwc,IWSlideService.class);				WebdavRootResource rootResource = session.getWebdavRootResource();			String filePath = service.getURI(resourcePath);			rootResource.proppatchMethod(filePath,new PropertyName("DAV:",type),"",true);						WebDAVMetadataResource resource;			resource = (WebDAVMetadataResource) IBOLookup.getSessionInstance(					iwc, WebDAVMetadataResource.class);			ret = resource.getMetadata(resourcePath);			for(int i=0; i<ret.length;i++) {				System.out.println("type="+ret[i].getType()+"  val="+ret[i].getValues());			}			resource.clear();					} catch (HttpException ex) {			ex.printStackTrace();		} catch (IOException ex) {			ex.printStackTrace();		} catch (NullPointerException ex) {			ex.printStackTrace();		}	}