org.dlese.dpc.schemedit.autoform
Class Msp2EditorRenderer
java.lang.Object
org.dlese.dpc.schemedit.autoform.Renderer
org.dlese.dpc.schemedit.autoform.RendererImpl
org.dlese.dpc.schemedit.autoform.EditorRenderer
org.dlese.dpc.schemedit.autoform.DleseEditorRenderer
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
Fields inherited from class org.dlese.dpc.schemedit.autoform.Renderer |
df, formBeanName, normalizedXPath, parent, repeatingComplexSingletonChildPath, rhelper, root, schemaNode, sh, typeDef, typeName, xpath |
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.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 |
Msp2EditorRenderer
public Msp2EditorRenderer()
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