code: public static void attachAndEnhance(JQMContainer container) {
          if (container == null) return;
          RootPanel p = getRootPanel();
          if (p == null) return;
          p.add(container);
          enhance(container);
          container.setEnhanced(true);
      }
docs: Appends the given {@link JQMPage} to the DOM so that JQueryMobile is
  able to manipulate it and render it. This should only be done once per
  page, otherwise duplicate HTML would be added to the DOM and this would
  result in elements with overlapping IDs.