Skip to content

Instantly share code, notes, and snippets.

@mauriziocarioli
Created February 24, 2020 19:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauriziocarioli/dac82e7f205c0428442ea934ae4c6e05 to your computer and use it in GitHub Desktop.
Save mauriziocarioli/dac82e7f205c0428442ea934ae4c6e05 to your computer and use it in GitHub Desktop.
Peter's Task Form
[
{
"id": "fdb03de1-ad38-49fb-af74-ff9f8c3daf08",
"name": "Task-taskform.frm",
"model": {
"taskName": "Task",
"processId": "PHM-Processes.Task",
"name": "task",
"properties": [
{
"name": "answer",
"typeInfo": {
"type": "BASE",
"className": "java.lang.String",
"multiple": false
},
"metaData": {
"entries": []
}
},
{
"name": "na",
"typeInfo": {
"type": "BASE",
"className": "java.lang.Boolean",
"multiple": false
},
"metaData": {
"entries": []
}
},
{
"name": "naText",
"typeInfo": {
"type": "BASE",
"className": "java.lang.String",
"multiple": false
},
"metaData": {
"entries": []
}
}
],
"formModelType": "org.kie.workbench.common.forms.jbpm.model.authoring.task.TaskFormModel"
},
"fields": [
{
"maxLength": 100,
"placeHolder": "Answer",
"id": "field_4713765298059573E12",
"name": "answer",
"label": "Answer",
"required": false,
"readOnly": false,
"validateOnChange": true,
"binding": "answer",
"standaloneClassName": "java.lang.String",
"code": "TextBox",
"serializedFieldClassName": "org.kie.workbench.common.forms.fields.shared.fieldTypes.basic.textBox.definition.TextBoxFieldDefinition"
},
{
"id": "field_729902747547625E11",
"name": "na",
"label": "Na",
"required": false,
"readOnly": false,
"validateOnChange": true,
"binding": "na",
"standaloneClassName": "java.lang.Boolean",
"code": "CheckBox",
"serializedFieldClassName": "org.kie.workbench.common.forms.fields.shared.fieldTypes.basic.checkBox.definition.CheckBoxFieldDefinition"
},
{
"maxLength": 100,
"placeHolder": "NaText",
"id": "field_483596373502781E11",
"name": "naText",
"label": "NaText",
"required": false,
"readOnly": false,
"validateOnChange": true,
"binding": "naText",
"standaloneClassName": "java.lang.String",
"code": "TextBox",
"serializedFieldClassName": "org.kie.workbench.common.forms.fields.shared.fieldTypes.basic.textBox.definition.TextBoxFieldDefinition"
},
{
"id": "field_5646",
"name": "supplementalData",
"label": "Supplemental Documentation",
"required": false,
"readOnly": false,
"validateOnChange": true,
"helpMessage": "",
"binding": "supplementalData",
"standaloneClassName": "org.jbpm.document.service.impl.DocumentImpl",
"code": "Document",
"serializedFieldClassName": "org.kie.workbench.common.forms.jbpm.model.authoring.document.definition.DocumentFieldDefinition"
}
],
"layoutTemplate": {
"version": 3,
"style": "FLUID",
"layoutProperties": {},
"rows": [
{
"height": "12",
"properties": {},
"layoutColumns": [
{
"span": "12",
"height": "12",
"properties": {},
"rows": [],
"layoutComponents": [
{
"dragTypeName": "org.uberfire.ext.plugin.client.perspective.editor.layout.editor.HTMLLayoutDragComponent",
"properties": {
"HTML_CODE": "<h3>Outputs:</h3>"
},
"parts": []
}
]
}
]
},
{
"height": "12",
"properties": {},
"layoutColumns": [
{
"span": "12",
"height": "12",
"properties": {},
"rows": [],
"layoutComponents": [
{
"dragTypeName": "org.kie.workbench.common.forms.editor.client.editor.rendering.EditorFieldLayoutComponent",
"properties": {
"field_id": "field_4713765298059573E12",
"form_id": "fdb03de1-ad38-49fb-af74-ff9f8c3daf08"
},
"parts": []
}
]
}
]
},
{
"height": "12",
"properties": {},
"layoutColumns": [
{
"span": "12",
"height": "12",
"properties": {},
"rows": [],
"layoutComponents": [
{
"dragTypeName": "org.kie.workbench.common.forms.editor.client.editor.rendering.EditorFieldLayoutComponent",
"properties": {
"field_id": "field_5646",
"form_id": "fdb03de1-ad38-49fb-af74-ff9f8c3daf08"
},
"parts": [
{
"partId": "Field Label",
"cssProperties": {}
}
]
}
]
}
]
},
{
"height": "12",
"properties": {},
"layoutColumns": [
{
"span": "12",
"height": "12",
"properties": {},
"rows": [],
"layoutComponents": [
{
"dragTypeName": "org.kie.workbench.common.forms.editor.client.editor.rendering.EditorFieldLayoutComponent",
"properties": {
"field_id": "field_729902747547625E11",
"form_id": "fdb03de1-ad38-49fb-af74-ff9f8c3daf08"
},
"parts": []
}
]
}
]
},
{
"height": "12",
"properties": {},
"layoutColumns": [
{
"span": "12",
"height": "12",
"properties": {},
"rows": [],
"layoutComponents": [
{
"dragTypeName": "org.kie.workbench.common.forms.editor.client.editor.rendering.EditorFieldLayoutComponent",
"properties": {
"field_id": "field_483596373502781E11",
"form_id": "fdb03de1-ad38-49fb-af74-ff9f8c3daf08"
},
"parts": []
}
]
}
]
}
]
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment