AttributesImpl ai = new AttributesImpl(attr);
PortalService service = null;
String parameters;
try {
service = (PortalService)this.manager.lookup(PortalService.ROLE);
Event e = new UploadItemEvent(this.basketManager.getFolder(), this.uploadElements);
parameters = service.getComponentManager().getLinkService().getLinkURI(e);
int pos = parameters.indexOf('?');
ai.addCDATAAttribute("action", parameters.substring(0, pos));
parameters = parameters.substring(pos+1);
} catch (ServiceException se) {