code: @RequestMapping("/note")
      public final String note(
              @RequestParam(value = "id",
                  required = false,
                  defaultValue = "N0") final String idString,
              @RequestParam(value = "db",
                  required = false,
                  defaultValue = "schoeller") final String dbName,
              final Model model) {
          logger.debug("Entering source");
  
          final Root root = fetchRoot(dbName);
  
          final RenderingContext context = createRenderingContext();
          final Note note = (Note) root.find(idString);
          if (note == null) {
              throw new NoteNotFoundException(
                      "Note " + idString + " not found", idString, dbName,
                      context);
          }
  
          final GedRenderer<?> noteRenderer = new GedRendererFactory()
                  .create(note, context);
  
          model.addAttribute("filename", gedbrowserHome + "/" + dbName + ".ged");
          model.addAttribute("noteString", note.getString());
          model.addAttribute("model", noteRenderer);
          model.addAttribute("appInfo", appInfo);
          logger.debug("Exiting source");
          return "note";
      }
docs: Connects HTML template file with data for the source page.
  
  @param idString id URL argument.
  @param dbName name of database for the lookup.
  @param model Spring connection between the data model wrapper.
  @return a string identifying which HTML template to use.