Class ModelFormField.LookupField

Enclosing class:
ModelFormField

public static class ModelFormField.LookupField extends ModelFormField.TextField
Models the <lookup> element.
See Also:
  • widget-form.xsd
  • Constructor Details

  • Method Details

    • accept

      public void accept(ModelFieldVisitor visitor) throws Exception
      Overrides:
      accept in class ModelFormField.TextField
      Throws:
      Exception
    • copy

      public FieldInfo copy(ModelFormField modelFormField)
      Description copied from class: FieldInfo
      Returns a new instance of this object.
      Overrides:
      copy in class ModelFormField.TextField
    • getDescriptionFieldName

      public String getDescriptionFieldName()
      Gets description field name.
      Returns:
      the description field name
    • getFadeBackground

      public String getFadeBackground()
      Gets fade background.
      Returns:
      the fade background
    • getFormName

      public FlexibleStringExpander getFormName()
      Gets form name.
      Returns:
      the form name
    • getFormName

      public String getFormName(Map<String,Object> context)
      Gets form name.
      Parameters:
      context - the context
      Returns:
      the form name
    • getInitiallyCollapsed

      public boolean getInitiallyCollapsed()
      Gets initially collapsed.
      Returns:
      the initially collapsed
    • getLookupHeight

      public String getLookupHeight()
      Gets lookup height.
      Returns:
      the lookup height
    • getLookupPosition

      public String getLookupPosition()
      Gets lookup position.
      Returns:
      the lookup position
    • getLookupPresentation

      public String getLookupPresentation()
      Gets lookup presentation.
      Returns:
      the lookup presentation
    • getLookupWidth

      public String getLookupWidth()
      Gets lookup width.
      Returns:
      the lookup width
    • getShowDescription

      public Boolean getShowDescription()
      Gets show description.
      Returns:
      the show description
    • getTargetParameter

      public FlexibleStringExpander getTargetParameter()
      Gets target parameter.
      Returns:
      the target parameter
    • getTargetParameter

      public String getTargetParameter(Map<String,Object> context)
      Gets target parameter.
      Parameters:
      context - the context
      Returns:
      the target parameter
    • getTargetParameterList

      @Deprecated public List<String> getTargetParameterList()
      Deprecated.
      Target Parameter is potentially a FlexibleStringExpander expression and should therefore be evaluated within a given context.

      Use getTargetParameter(Map) instead.

    • getTargetParameterList

      public List<String> getTargetParameterList(Map<String,Object> context)
      Gets target parameter list.
      Parameters:
      context - the context
      Returns:
      the target parameter list
    • renderFieldString

      public void renderFieldString(Appendable writer, Map<String,Object> context, FormStringRenderer formStringRenderer) throws IOException
      Overrides:
      renderFieldString in class ModelFormField.TextField
      Throws:
      IOException