if (parent != null) {
if (webDAVPath != null && parent != null) {
	public void processAction(ActionEvent actionEvent) throws AbortProcessingException {		UIComponent comp = actionEvent.getComponent();				boolean isFolder = true;		if (comp instanceof UICommand) {			List children = comp.getChildren();			Iterator iter = children.iterator();			UIComponent child;			UIParameter par;			while (iter.hasNext()) {				child = (UIComponent) iter.next();				if (child instanceof UIParameter) {					par = (UIParameter) child;					if (PARAMETER_WEB_DAV_URL.equals(par.getName()) ) {						webDAVPath = (String) par.getValue();					} else if (PARAMETER_IS_FOLDER.equals(par.getName())) {						isFolder = ((Boolean) par.getValue()).booleanValue();					}				}								}		}				WFList parent = getWFListParent(comp);				if (parent != null) {			WFList parentList = (WFList) parent;			if (isFolder) {				this.setClickedFilePath(null);				this.updateDataModel(new Integer(parentList.getFirst()), new Integer(parentList.getRows()));			} else {				this.setClickedFilePath(webDAVPath);				int index = webDAVPath.lastIndexOf("/");				if (index > -1) {					clickedFileName = webDAVPath.substring(index+1);					webDAVPath = webDAVPath.substring(0, index);				}			}		}	}