html.setPageTitle(new PageTitle(title + " Page:", PathParser.parse(resource), pageData.getAttribute(PageData.PropertySUITES)));
html.setMainTemplate("editPage");
makeEditForm(html, resource, firstTimeForNewPage, NewPageResponder.getDefaultContent(page));
return html.html();
}
private void makeEditForm(HtmlPage html, String resource, boolean firstTimeForNewPage, String defaultNewPageContent) {
html.put("resource", resource);
html.put(TIME_STAMP, String.valueOf(SaveRecorder.timeStamp()));