Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejs
CBXFORMCONTAINER.getWindowByFormId("FORM_ID","CONTAINER_ID",modelData, configObj)

/*
* In this API,
* 'FORM_ID' is a mandatory parameter. This should be the form ID, which has the containers configured for it.
* 'CONTAINER_ID' is a mandatory parameter. This should be the container, which has the same Form ID configured to it.
* 'modelData' is an optional parameter. This should be the array of data values to set on the Form Items.
* 'config' is an optional parameter. This parameter contains the configuration of the container; in addition to it,
* this object also contains the isTxnHdrReqd * flag and the Transaction Header form to handle the transaction data flow.
*/

...

Code Block
languagejs
var eventForm = new cbx.form.FormManager( 
	{ 
		formId : "ALERT_HANDLER_FORM", mode : 'edit',
		modelData:\
			{ 
				'EVENT_ID': eventid, 'CHECK_DUPLICATION': count_alert,
	}
	}); 
CBXFORMCONTAINER.getWindowByFormObj(eventForm, "CONTAINER_ALERT_HANDLER", null); 

...