示例#1
0
 public void processAction(ActionEvent event) throws AbortProcessingException {
   log.debug("TreeHandler::processAction()");
   UIComponent component = (UIComponent) event.getSource();
   while (!(component != null && component instanceof HtmlTree)) {
     component = component.getParent();
   }
   if (component != null) {
     HtmlTree tree = (HtmlTree) component;
     tree.setNodeSelected(event);
   }
 }