DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.autoform
Class MathPathEditorRenderer

java.lang.Object
  extended by org.dlese.dpc.schemedit.autoform.Renderer
      extended by org.dlese.dpc.schemedit.autoform.RendererImpl
          extended by org.dlese.dpc.schemedit.autoform.EditorRenderer
              extended by org.dlese.dpc.schemedit.autoform.DleseEditorRenderer
                  extended by org.dlese.dpc.schemedit.autoform.Msp2EditorRenderer
                      extended by org.dlese.dpc.schemedit.autoform.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

Field Summary
 
Fields inherited from class org.dlese.dpc.schemedit.autoform.RendererImpl
DISPLAY_MODE, EDIT_MODE
 
Fields inherited from class org.dlese.dpc.schemedit.autoform.Renderer
df, formBeanName, normalizedXPath, parent, repeatingComplexSingletonChildPath, rhelper, root, schemaNode, sh, typeDef, typeName, xpath
 
Constructor Summary
MathPathEditorRenderer()
           
 
Method Summary
 void renderNode()
          Intercept renderNode calls for certain paths and use jsp tags instead of autoform
protected  void renderSubjectsNode()
          Custom renderer for the Subjects node using a tag file.
static void setDebug(boolean bool)
          Sets the debug attribute of the MathPathEditorRenderer class
 
Methods inherited from class org.dlese.dpc.schemedit.autoform.DleseEditorRenderer
getMultiBoxInput, getSelectInput, getTextInput, renderRepeatingElement
 
Methods inherited from class org.dlese.dpc.schemedit.autoform.EditorRenderer
getCollapseWidget, getComplexTypeLabel, getMultiBoxLabel, getSimpleTypeLabel
 
Methods inherited from class org.dlese.dpc.schemedit.autoform.RendererImpl
bestPracticesLink, doInit, getBooleanInput, getComboUnionInput, getComplexTypeLabel, getDeleteController, getInputElement, getInputHelperElement, getLabelText, getLanguageInput, getMultiSelectInput, getOptionalItemControl, getReadOnlyElement, getRenderedField, getRenderedField, getRenderMode, getShowNSPrefixInLabels, getSimpleTypeLabel, getTextAreaInput, getTextAreaInput, getToolHelp, getXpath, isDisplayMode, isEditMode, renderAttribute, renderChoice, renderComplexTypeConcrete, renderDerivedContentModel, renderDerivedTextOnlyModel, renderInputElement, renderModelGroup, renderRepeatingSubstitutionGroup, renderSequence, renderSimpleTypeConcrete, renderSubElements, renderSubElements, renderSubElements, report, setRenderMode, setShowNSPrefixInLabels, showXsdStringElement
 
Methods inherited from class org.dlese.dpc.schemedit.autoform.Renderer
doInit, getDiv, getDiv, getLevel, getSchemaNamespace, getSchemaNSPrefix, getXmlFormat, init, jspQuotedString, renderComplexType, renderSimpleType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MathPathEditorRenderer

public MathPathEditorRenderer()
Method Detail

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

DLESE Tools
v1.6.0