private void makeImportUpdateForm(WikiImportProperty importProps) { if (importProps.isRoot()) { html.put("makeImportRootForm", true); } else { html.put("makeImportSubpageForm", true); } if (importProps.isAutoUpdate()) html.put("autoUpdate", true); html.put("sourceUrl", importProps.getSourceUrl()); }
private void makeFormSections() { makePropertiesForm(); WikiImportProperty importProperty = WikiImportProperty.createFrom(pageData.getProperties()); if (importProperty != null) makeImportUpdateForm(importProperty); else makeImportForm(); makeSymbolicLinkSection(); }