Package org.imixs.workflow.office.forms
Class CustomFormItem
java.lang.Object
org.imixs.workflow.office.forms.CustomFormItem
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()getName()Optional option string.getPath()optional path for custom items.List<jakarta.faces.model.SelectItem>SelectItem getter Method provides a getter method to an ArrayList ofobjects for a given options String. intgetSpan()getType()booleanbooleanisHide()booleanbooleanvoidsetDisabled(boolean disabled) voidsetHide(boolean hide) voidvoidvoidsetOptions(String options) voidvoidsetReadonly(boolean readonly) voidsetRequired(boolean required) voidsetSpan(int span) void
-
Constructor Details
-
CustomFormItem
-
-
Method Details
-
getName
-
setName
-
getType
-
setType
-
getLabel
-
setLabel
-
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
SelectItem getter Method provides a getter method to an ArrayList ofobjects 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
Optional option string.Can contain custom parts data
- Returns:
-
setOptions
-
getPath
optional path for custom items.- Returns:
-
setPath
-