예제 #1
0
 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());
 }
예제 #2
0
  private void makeFormSections() {
    makePropertiesForm();

    WikiImportProperty importProperty = WikiImportProperty.createFrom(pageData.getProperties());
    if (importProperty != null) makeImportUpdateForm(importProperty);
    else makeImportForm();

    makeSymbolicLinkSection();
  }