}
// retrieve selected section
TreeControl tree = (TreeControl)request.getSession().getAttribute("treeControlTest");
String selectedId = request.getParameter("id") ;
TreeControlNode node = tree.findNode(selectedId);
try {
Mapping.begin();
Section section = Section.getInstance(selectedId);
String newId = IdGenerator.nextSectionId();
Section newSection = section.create(section,newId);
newSection.setMetaData("status","offline");
request.setAttribute("id",newId);
// update tree
TreeControlNode newNode = WcmTreeBuilder.buildNode(newSection);
node.addChild(newNode);
newNode.rebuildLast();
Mapping.commit();
} catch(Exception e) {
Mapping.rollback();
throw new ServletException(e);