code: public static Window showCWF(BaseComponent root, String... excludedProperties) {
          Window window = showXML(CWF2XML.toDocument(root, excludedProperties));
          window.setTitle("CWF Markup");
          return window;
      }
docs: Display the CWF markup for the component tree rooted at root.
  
  @param root Root component of tree.
  @param excludedProperties Excluded properties.
  @return The dialog.