public class DleseEditorRenderer extends EditorRenderer
DISPLAY_MODE, EDIT_MODEdf, formBeanName, normalizedXPath, parent, repeatingComplexSingletonChildPath, rhelper, root, schemaNode, sh, typeDef, typeName, xpath| Constructor and Description |
|---|
DleseEditorRenderer() |
| Modifier and Type | Method and Description |
|---|---|
org.dom4j.Element |
getMultiBoxInput(java.lang.String xpath)
Renders a multibox input (a set of of checkboxes) as an Element using one
of several methods of rendering a multiBoxInput, depending on what
information is available for the current element.
|
org.dom4j.Element |
getSelectInput(java.lang.String xpath)
If there is a vocabLayout (groups file) for this xpath, use it to layout
the element.
|
protected org.dom4j.Element |
getTextInput(java.lang.String xpath,
SchemaNode schemaNode,
GlobalDef typeDef)
Render configured paths as textArea inputs instead of regular text inputs.
|
void |
renderRepeatingElement()
If this element has been configured to use suggestion service, render using
MdeStdsNode, otherwise render as usual.
|
static void |
setDebug(boolean bool)
Sets the debug attribute of the DleseEditorRenderer class
|
getCollapseWidget, getComplexTypeLabel, getMultiBoxLabel, getSimpleTypeLabelbestPracticesLink, 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, showXsdStringElementdoInit, getDiv, getDiv, getLevel, getSchemaNamespace, getSchemaNSPrefix, getXmlFormat, init, jspQuotedString, renderComplexType, renderNode, renderSimpleTypepublic org.dom4j.Element getMultiBoxInput(java.lang.String xpath)
org.dlese.dpc.schemedit.autoform.SimpleJspRenderer#getMultiBoxInput()
getMultiBoxInput in class RendererImplxpath - xpath of element to be rendered as multiBoxInputpublic org.dom4j.Element getSelectInput(java.lang.String xpath)
NOTES
1 - the path passed to the "vl__vocabLayoutSingleSelect" is not a
"siblingPath" as is the case with multi-selects, but the actual xpath,
since here we are collecting a single value
2 - the "elementPath" attribute (missed-named) determines which method is
used to determine an input field's values. since this is a single-value
select, we use "valueOf".
getSelectInput in class RendererImplxpath - path to the element to be rendered as a select inputpublic void renderRepeatingElement()
renderRepeatingElement in class RendererImplprotected org.dom4j.Element getTextInput(java.lang.String xpath,
SchemaNode schemaNode,
GlobalDef typeDef)
getTextInput in class RendererImplxpath - xpath of inputschemaNode - schemaNode for this xpathtypeDef - the typeDefinion for this nodepublic static void setDebug(boolean bool)
bool - The new debug value