Class ecm.widget.dialog.EFormWindow

Provides a mechanism that is used to display the IBM FileNet EForm widget in a separate browser window.
Defined in: <ecm\widget\dialog\EFormWindow.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 
Creates a browser pop-up window to render the Form Template.

Field Summary

Field Attributes Field Name and Description
 
height 
Integer field holding the initial default height of the eform window to open.
 
String field holding a services URL that could be to another web-application
 
width 
Integer field holding the initial default width of the eform window to open.

Method Summary

Method Attributes Method Name and Description
 
getEFormUrl(item, formStateId)
Returns a string holding the URL for the specified form object.
 
An event function that is called when the form window closes and the work item has been saved.
 
open(item, callback)
Opens the browser pop-up window and renders the Form Template, Form Data, or document Form Policy.

Constructor Detail

ecm.widget.dialog.EFormWindow()

Creates a browser pop-up window to render the Form Template.

Field Detail

height

Integer field holding the initial default height of the eform window to open.

servicesUrl

String field holding a services URL that could be to another web-application

width

Integer field holding the initial default width of the eform window to open.

Method Detail

getEFormUrl(item, formStateId)

Returns a string holding the URL for the specified form object.
Parameters:
item
A ecm.model.ContentItem object, can be Form Template, Form Data, or Form Policy.
formStateId
A string holding a unique forms state Id.

onFormWindowCompleted(item)

An event function that is called when the form window closes and the work item has been saved.
Parameters:
item
An object holding reference information.

open(item, callback)

Opens the browser pop-up window and renders the Form Template, Form Data, or document Form Policy.
Parameters:
item
A ecm.model.ContentItem object, can be Form Template, Form Data, or document Form Policy.
callback
A function to be called after the Form Template is rendered.