Class icm.pgwidget.caseform.CaseForm

CaseForm Page Widget
Defined in: <icm/pgwidget/caseform/CaseForm.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Method Summary

Method Attributes Method Name and Description
 
handleICM_AfterLoadWidgetEvent(context, complete, abort)
 
handleICM_AfterSaveEvent(context, complete, abort)
This coordination topic handler updates the dirty state after a successful save.
 
handleICM_BeforeCancelEvent(context, complete, abort)
This coordination topic handler commits the current form field (if necessary), and reports whether there is any modified data prior to a cancel action.
 
handleICM_BeforeCompleteEvent(context, complete, abort)
This coordination topic handler complete and save the form data and creates or updates the attachment field as required.
 
handleICM_BeforeSaveEvent(context, complete, abort)
This coordination topic handler saves the form data and creates or updates the attachment field as required.
 
Handler for the icm.ClearContent event
 
handleICM_CommitEvent(context, complete, abort)
This coordination topic handler commits the current form field prior to the receipt of the "validation" topic handler.
 
handleICM_LoadWidgetEvent(context, complete, abort)
 
Handler for the icm.SendCaseInfo event when opening a case in Case Form Widget
 
Handler for the icm.SendNewCaseInfo event.
 
Handler for the icm.SendNewTaskInfo event.
 
Handler for the icm.SendWorkItem event.
 
Handler for the icm.UpdateFields event.
 
handleICM_ValidationEvent(context, complete, abort)
This coordination topic handler validates the controller and the form data.
 

Constructor Detail

icm.pgwidget.caseform.CaseForm()

Method Detail

handleICM_AfterLoadWidgetEvent(context, complete, abort)

Parameters:
context
complete
abort

handleICM_AfterSaveEvent(context, complete, abort)

This coordination topic handler updates the dirty state after a successful save.
Parameters:
context
complete
abort

handleICM_BeforeCancelEvent(context, complete, abort)

This coordination topic handler commits the current form field (if necessary), and reports whether there is any modified data prior to a cancel action.
Parameters:
context
complete
abort

handleICM_BeforeCompleteEvent(context, complete, abort)

This coordination topic handler complete and save the form data and creates or updates the attachment field as required.
Parameters:
context
complete
abort

handleICM_BeforeSaveEvent(context, complete, abort)

This coordination topic handler saves the form data and creates or updates the attachment field as required.
Parameters:
context
complete
abort

handleICM_ClearContentEvent()

Handler for the icm.ClearContent event

handleICM_CommitEvent(context, complete, abort)

This coordination topic handler commits the current form field prior to the receipt of the "validation" topic handler. This method should abort the coordination if the current form field cannot be committed.
Parameters:
context
complete
abort

handleICM_LoadWidgetEvent(context, complete, abort)

Parameters:
context
complete
abort

handleICM_SendCaseInfoEvent(payload)

Handler for the icm.SendCaseInfo event when opening a case in Case Form Widget
Parameters:
payload
Example: payload = { "caseEditable": caseEditable, "coordination": coordination };

handleICM_SendNewCaseInfoEvent(payload)

Handler for the icm.SendNewCaseInfo event.
Parameters:
payload
Example: payload = { "caseEditable": caseEditable, "coordination": coordination };

handleICM_SendNewTaskInfoEvent(payload)

Handler for the icm.SendNewTaskInfo event.
Parameters:
payload
Example: payload = { "taskEditable": taskEditable, "coordination": coordination };

handleICM_SendWorkItemEvent(payload)

Handler for the icm.SendWorkItem event.
Parameters:
payload
Example: payload = { "workItemEditable": workItemEditable, "coordination": coordination };

handleICM_UpdateFieldsEvent(payload)

Handler for the icm.UpdateFields event.
Parameters:
payload
  • changes: A JSON object that contains the unique identifier, value, type, and if it is array for each property that is to be modified.
 Example: payload = {
				"changes": [
					{
						id: "prop1",
                      type:"string"/"integer"/"float"/"datetime"/"boolean"...
                      array:false/true
						value: value1
					},
					{
						id: prop2,
                          .
                          .
					}
				]
			};

handleICM_ValidationEvent(context, complete, abort)

This coordination topic handler validates the controller and the form data.
Parameters:
context
complete
abort

postCreate()