Class CustomFormItem

java.lang.Object
org.imixs.workflow.office.forms.CustomFormItem

public class CustomFormItem extends Object
This CustomFormItem provides the informations from a single item inside a custom form section

The optional 'options' contains a list of select options. Example: SEPA|sepa_transfer;Bankeinzug/ Kreditkarte|direct_debit"

Version:
1.0
Author:
rsoika
  • Constructor Details

    • CustomFormItem

      public CustomFormItem(String name, String type, String label, boolean required, boolean readonly, boolean disabled, String options, String path, boolean hide, int span)
  • Method Details

    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • getLabel

      public String getLabel()
    • setLabel

      public void setLabel(String label)
    • isRequired

      public boolean isRequired()
    • setRequired

      public void setRequired(boolean required)
    • isReadonly

      public boolean isReadonly()
    • setReadonly

      public void setReadonly(boolean readonly)
    • isDisabled

      public boolean isDisabled()
    • setDisabled

      public void setDisabled(boolean disabled)
    • isHide

      public boolean isHide()
    • setHide

      public void setHide(boolean hide)
    • getSpan

      public int getSpan()
    • setSpan

      public void setSpan(int span)
    • getSelectItems

      public List<jakarta.faces.model.SelectItem> getSelectItems() throws Exception
      SelectItem getter Method provides a getter method to an ArrayList of objects for a given options String. The options String contains multiple options spearated by ; One option can be devided by a | into a label and a value component. Example:

      SEPA|sepa_transfer;Bankeinzug/ Kreditkarte|direct_debit" <f:selectItems value="#{item.selectItems}" />

      Returns:
      Throws:
      Exception
    • getOptions

      public String getOptions()
      Optional option string.

      Can contain custom parts data

      Returns:
    • setOptions

      public void setOptions(String options)
    • getPath

      public String getPath()
      optional path for custom items.
      Returns:
    • setPath

      public void setPath(String path)