table.add(WFUtil.getText("Current folder = "+res.getDecodedPath(), "wf_listtext"), 1, row);
try { IWSlideSession ss = (IWSlideSession) IBOLookup.getSessionInstance(IWContext.getInstance(),IWSlideSession.class); table.add(WFUtil.getText("Current folder = "+res.getPath().replaceFirst(ss.getWebdavServerURI(), ""), "wf_listtext"), 1, row); } catch (Exception e) { table.add(WFUtil.getText("Failed getting current folder", "wf_listtext"), 1, row); }
	protected void initializeContent() {		WebdavExtendedResource res = getWebdavExtendedResource();		createResource(res, newFolderName);				Table table = new Table();		int row = 1;				HtmlOutputText text = getBundle().getLocalizedText("name");		text.setId(getId()+"_txtN");		text.setStyleClass("wf_listtext");		HtmlInputText folderName = new HtmlInputText();		folderName.setId(this.getId()+"_inpN");		folderName.setValueBinding("value", WFUtil.createValueBinding("#{webdavfoldercreationbean.folderName}"));				table.add(WFUtil.getText("Current folder = "+res.getDecodedPath(), "wf_listtext"), 1, row);		table.mergeCells(1, row, 2, row);				if (errorMessage != null) {			++row;			table.add(WFUtil.getText("Creation failed = "+errorMessage, "wf_listtext"), 1, row);			table.mergeCells(1, row, 2, row);		} else if (folderCreated) {			++row;			table.add(WFUtil.getText("FolderCreated", "wf_listtext"), 1, row);			table.mergeCells(1, row, 2, row);		}			++row;		table.add(text, 1, row);		table.add(folderName, 2, row);				++row;		HtmlCommandButton save = new HtmlCommandButton();		save.setId(getId()+"_btnS");		save.setActionListener(WFUtil.createMethodBinding("#{contentviewerbean.processAction}", new Class[]{ActionEvent.class}));		table.add(save, 2, row);		table.setAlignment(2, row, Table.HORIZONTAL_ALIGN_RIGHT);		getChildren().add(table);	}