Class Msp2EditorRenderer

Direct Known Subclasses:
MathPathEditorRenderer

public class Msp2EditorRenderer extends DleseEditorRenderer
Includes msp2-specific kludges, most notably the /record/general/subjects field, which requires an editing approach OTHER than than implied by the schema ...

Elements created by the Msp2EditorRenderer starting with "msp2__" (e.g., "msp2__subjects") are rendered tag calls (e.g., "msg:subjects") which are handled by tag files (e.g., "subjects.tag") in the tags/msp2 directory.

Author:
ostwald
  • Constructor Details

    • Msp2EditorRenderer

      public Msp2EditorRenderer()
  • Method Details

    • renderNode

      public void renderNode()
      Intercept renderNode calls for certain paths and use jsp tags instead of autoform
      Overrides:
      renderNode in class Renderer
    • renderSubjectsNode

      protected void renderSubjectsNode()
      Custom renderer for the Subjects node using a tag file.
    • setDebug

      public static void setDebug(boolean bool)
      Sets the debug attribute of the Msp2EditorRenderer class
      Parameters:
      bool - The new debug value