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)
|
|
handleICM_SendCaseInfoEvent(payload)
Handler for the icm.SendCaseInfo event when opening a case in Case Form Widget
|
|
handleICM_SendNewCaseInfoEvent(payload)
Handler for the icm.SendNewCaseInfo event.
|
|
handleICM_SendNewTaskInfoEvent(payload)
Handler for the icm.SendNewTaskInfo event.
|
|
handleICM_SendWorkItemEvent(payload)
Handler for the icm.SendWorkItem event.
|
|
handleICM_UpdateFieldsEvent(payload)
Handler for the icm.UpdateFields event.
|
|
handleICM_ValidationEvent(context, complete, abort)
This coordination topic handler validates the
controller and the form data.
|
|
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
- caseEditable: An icm.model.CaseEditable object that represents the case that is to be displayed.
- coordination: An icm.util.Coordination object that is used internally by the widgets in the same page.
handleICM_SendNewCaseInfoEvent(payload)
Handler for the icm.SendNewCaseInfo event.
- Parameters:
- payload
- caseEditable: An icm.model.CaseEditable object that represents the case that is to be displayed.
- coordination: An icm.util.Coordination object that is used internally by the widgets in the same page.
handleICM_SendNewTaskInfoEvent(payload)
Handler for the icm.SendNewTaskInfo event.
- Parameters:
- payload
- taskEditable: An icm.model.TaskEditable object that represents the task that is to be displayed.
- coordination: An icm.util.Coordination object that is used internally by the widgets in the same page.
handleICM_SendWorkItemEvent(payload)
Handler for the icm.SendWorkItem event.
- Parameters:
- payload
- workItemEditable: An icm.model.CaseEditable object that represents the workitem that is to be displayed.
- coordination: An icm.util.Coordination object that is used internally by the widgets in the same page.
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()
Licensed Materials - Property of IBM (©) Copyright IBM Corp. 2013. All Rights Reserved.