Class MathPathEditorRenderer


public class MathPathEditorRenderer extends Msp2EditorRenderer
Includes math_path-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 MathPathEditorRenderer 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

    • MathPathEditorRenderer

      public MathPathEditorRenderer()
  • Method Details

    • renderNode

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

      protected void renderSubjectsNode()
      Custom renderer for the Subjects node using a tag file.
      Overrides:
      renderSubjectsNode in class Msp2EditorRenderer
    • setDebug

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