public void actionPerformed(java.awt.event.ActionEvent evt) {
      try {
        dObj.setChangedFromUI(true);
        WSWebExt webext = dObj.getWebExt();
        ExtendedServletsType es = new ExtendedServletsType();
        es.setDefaults();
        int number = webext.getExtendedServlets().length + 1;
        long time_id = java.lang.System.currentTimeMillis();

        es.setExtendedServlet("");
        es.setXmiId("ServletExtension_" + time_id);
        es.setHref("");

        // rr.setTitle("Binding Item #"+number);
        webext.addExtendedServlets(es);
        //////////////////////////////////
        Node servletNode = new ServletsNode();
        view.getRoot().getChildren().add(new Node[] {servletNode});
        servletNode.setDisplayName(servletNode.getDisplayName() + number);

        dObj.modelUpdatedFromUI();
        SectionPanel sectionPanel = new SectionPanel(view, servletNode, es);
        sectionPanel.setHeaderActions(new javax.swing.Action[] {removeServletAction});
        ((WSWebExtView) view).getServletsContainer().addSection(sectionPanel, true);
        dObj.setChangedFromUI(false);

      } catch (java.io.IOException ex) {
      } catch (java.lang.IllegalArgumentException ex) {
      }
    }
    private Node createServletsNode() {
      ExtendedServletsType[] servlets = webext.getExtendedServlets();
      Children servch = new Children.Array();
      Node[] servletNode = null;

      if (servlets != null && servlets.length > 0) {
        servletNode = new Node[servlets.length];
        for (int i = 0; i < servlets.length; i++) {
          servletNode[i] = new ServletsNode();
          servletNode[i].setDisplayName("Extended Servlet #" + (i + 1));
        }
        servch.add(servletNode);
      }

      Node servletsNode = new SectionContainerNode(servch);
      servletsNode.setDisplayName("Extended Servlets");

      servletsCont = new SectionContainer(this, servletsNode, "Extended Servlets");
      servletsCont.setHeaderActions(new javax.swing.Action[] {addServletAction});

      // creatings section panels for ResRefs
      if (servlets != null) {
        SectionPanel[] pan = new SectionPanel[servlets.length];
        for (int i = 0; i < servlets.length; i++) {
          pan[i] = new SectionPanel(this, servletNode[i], servlets[i]);
          pan[i].setHeaderActions(new javax.swing.Action[] {removeServletAction});
          servletsCont.addSection(pan[i]);
        }
      }
      addSection(servletsCont);
      return servletsNode;
    }