DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.autoform
Class Msp2EditorRenderer

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
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

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
Msp2EditorRenderer()
           
 
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 Msp2EditorRenderer 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

Msp2EditorRenderer

public Msp2EditorRenderer()
Method Detail

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

DLESE Tools
v1.6.0