public void load() throws Exception { SelectBox categories = new SelectBox(); ICategory category = Category.loadRootCategory(); if (category.size() > 0) { while (category.next()) { String categoryId = Integer.toString(category.getCategoryId()); String categoryName = category.getCategoryName(); categories.add(categoryName, categoryId); } } // IProjectNode projectList = ProjectNode.load(session); // FilepathInfo filepathInfo = new FilepathInfo(); // int j = 0; // if(projectList.size() > 0) { // while(projectList.next()){ // if( j == 0 ){ // filepathInfo.setProjectId(projectList.getId()); // } // j++; // } // } // this.setReleaseVersion(filepathInfo.findReleaseVersions(filepathInfo.getProjectId())); this.setCategories(categories); AppTypePanel appTypePanel = new AppTypePanel(); appTypePanel.session = session; appTypePanel.setProjectId(this.getProjectId()); appTypePanel.setSelectedAppType(this.getAppType()); appTypePanel.setSelectedAppDetail(this.getUrl()); appTypePanel.load(); this.setAppTypePanel(appTypePanel); if (this.getLogoFile() == null) { this.setLogoFile(new MetaworksFile()); } }