
Chapter 7. Building a generic application 193
dataManagement.createItem(entity);
}
RBConnectionPool.freeConnection(connection);
Opening Content Manager folders
Our application allows for the opening of Content Manager folders, and presents
the member list in the RBItemList.jsp. The method on the CMBItem bean is
listFolderItems(), but this returns a Java Vector of CMBItem instead of an array.
We therefore build an array to pass it to RBItemList.jsp. The beans in the
member list already have their system information.
Example 7-17 shows a code snippet for RBFolderOpen.java, where we get a list
of items and build an array to store the array into itemLis ...