private String makeHtml(FitNesseContext context) throws Exception {
    html = context.htmlPageFactory.newPage();
    html.setTitle("Properties: " + resource);
    html.setPageTitle(new PageTitle("Page Properties", path));
    html.put("pageData", pageData);
    html.setMainTemplate("properties.vm");
    makeLastModifiedTag();
    makeFormSections();

    return html.html();
  }
Ejemplo n.º 2
0
  private String makeHtml(FitNesseContext context, Request request) {
    html = context.pageFactory.newPage();
    html.setNavTemplate("viewNav");
    html.put("viewLocation", request.getResource());
    html.setTitle("Properties: " + resource);

    String tags = "";
    if (pageData != null) {
      tags = pageData.getAttribute(PageData.PropertySUITES);
    }

    html.setPageTitle(new PageTitle("Page Properties", path, tags));
    html.put("pageData", pageData);
    html.setMainTemplate("propertiesPage");
    makeLastModifiedTag();
    makeFormSections();

    return html.html();
  }