コード例 #1
0
  /** @param args */
  protected void fetchToEmail(final Object... args) {
    try {
      final Document document =
          HTMLDocParser.getDocument(
              Controller.REAL_PATH + Controller.WEB_INF_PAGES + WALL_SUBIT_FROM_EMAIL);

      displayNone($$(ORGANIZE_SECTION, document));
      $$(ORGANIZE_SECTION, document).getParentNode().removeChild($$(ORGANIZE_SECTION, document));

      fetchToEmail = HTMLDocParser.convertNodeToHtml($$(WALL_SUBMIT_WIDGET, document));

    } catch (final TransformerException e) {
      Loggers.EXCEPTION.error("", e);
    } catch (final SAXException e) {
      Loggers.EXCEPTION.error("", e);
    } catch (final IOException e) {
      Loggers.EXCEPTION.error("", e);
    }
  }