code: CmsCategoryTreeItem createCategoryTreeItem(CmsCategoryTreeEntry entry) {
  
          CmsCategoryTreeItem result = new CmsCategoryTreeItem(entry);
          for (CmsCategoryTreeEntry child : entry.getChildren()) {
              result.addChild(createCategoryTreeItem(child));
          }
          return result;
      }
docs: Recursively creates the widget tree for a given category bean.<p>
  
  @param entry the category bean
  
  @return the widget for that category bean, with widgets for its descendants attached