UIComponent upload = getFacet(UPLOAD); if (upload != null) { upload.setRendered(renderWebDAVUpload); renderChild(context, upload); }
	public void encodeChildren(FacesContext context) throws IOException {		super.encodeChildren(context);//		UIComponent bar = getFacet(BAR);//		if (bar != null) {//			renderChild(context, bar);//		}		UIComponent list = getFacet(LIST);		if (list != null) {			list.setRendered(renderWebDAVList);			renderChild(context, list);		}				UIComponent details = getFacet(FILE_DETAILS);		if (details != null) {			details.setRendered(renderWebDAVFileDetails);			renderChild(context, details);		}				UIComponent preview = getFacet(PREVIEW);		if (preview != null) {			preview.setRendered(renderWebDAVFilePreview);			renderChild(context, preview);		}				UIComponent folder = getFacet(NEW_FOLDER);		if (folder != null) {			folder.setRendered(renderWebDAVNewFolder);			renderChild(context, folder);		}					}