DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.autoform.mde
Class MdeMultiChoice

java.lang.Object
  extended by org.dlese.dpc.schemedit.autoform.mde.MdeNode
      extended by org.dlese.dpc.schemedit.autoform.mde.MdeComplexType
          extended by org.dlese.dpc.schemedit.autoform.mde.MdeChoice
              extended by org.dlese.dpc.schemedit.autoform.mde.MdeMultiChoice

public class MdeMultiChoice
extends MdeChoice

Renders editing fields for a Choice compositor with multiple occurances.

Author:
ostwald


Field Summary
 
Fields inherited from class org.dlese.dpc.schemedit.autoform.mde.MdeChoice
choiceCompositor
 
Fields inherited from class org.dlese.dpc.schemedit.autoform.mde.MdeNode
df, formBeanName, inputHelperFile, normalizedXPath, parent, renderer, rhelper, schemaNode, sh, typeDef, xpath
 
Constructor Summary
MdeMultiChoice(RendererImpl renderer)
          Constructor for the MdeMultiChoice object
 
Method Summary
protected  void prtln(String s)
          NOT YET DOCUMENTED
 void render(Element choiceElement)
          Render children elements of a choice compositor.
static void setDebug(boolean verbose)
          Sets the debug attribute of the MdeMultiChoice class
 
Methods inherited from class org.dlese.dpc.schemedit.autoform.mde.MdeChoice
getChoiceSelect
 
Methods inherited from class org.dlese.dpc.schemedit.autoform.mde.MdeComplexType
getChoiceDeleteController, getComplexTypeBox, getRepeatComplexSingletonControl, getRepeatingComplexSingletonChildPath, getRequiredMultiSelectControl, hasRepeatingComplexSingletonChild, orderSubElements, render, renderSubElements, renderSubElements, renderSubElements
 
Methods inherited from class org.dlese.dpc.schemedit.autoform.mde.MdeNode
addHtmlComment, attachElementDebugInfo, attachElementDebugInfo, attachElementId, attachLabelDebugInfo, attachLabelDebugInfo, attachLabelDebugInfo, bestPracticesLink, embedDebugInfo, getDiv, getDiv, getInputElement, getInputHelperFile, getInstanceSchemaNamespace, getMode, getQualifiedAttributeName, getQualifiedElementName, getRenderedField, getRenderedNoInputField, getRenderedNoInputField, getRenderedNoInputField, getToolHelp, insertDisplaySetup, insertHtmlComment, isDisplayMode, isEditMode, newRenderer, newRenderer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MdeMultiChoice

public MdeMultiChoice(RendererImpl renderer)
Constructor for the MdeMultiChoice object

Parameters:
renderer - NOT YET DOCUMENTED
Method Detail

render

public void render(Element choiceElement)
Render children elements of a choice compositor. The JSP has to test for which of the choices actually exists in the instance document before an input field can be displayed for it. So renderChoice creates an iterator that will construct the paths to the possible choices, and when one of the paths actually exists in the document, then that path is used to construct an input element. If there are no children elements, then display

Overrides:
render in class MdeChoice
Parameters:
choiceElement - NOT YET DOCUMENTED

setDebug

public static void setDebug(boolean verbose)
Sets the debug attribute of the MdeMultiChoice class

Parameters:
verbose - The new debug value

prtln

protected void prtln(String s)
NOT YET DOCUMENTED

Overrides:
prtln in class MdeChoice
Parameters:
s - NOT YET DOCUMENTED

DLESE Tools
v1.6.0