pp108 : xforms-initialize-done

xforms-initialize-done

This event is fired when the form has been rendered after retrieving the business object(s) if any. This event is fired afterxforms-initevent.

Syntax

DesignTime

This is a design-time property and can be set through the property sheet of the control.

Event Information

To invoke

Load an XForm page.

Default Action

Loads an XForm page, fires the init event, loads the model and retrieves business object(s) if any, loads the complete form and initiates any event associated with it.

Named Script

xforms_initialize_done

Event Object Properties

An event handler can access the event object and its properties through the eventObject available as a parameter on the handler.

Remarks

Though there are no event properties associated with this event except for the name of the event, the application object's onselect event is associated with this event. The application.eventobject when referred inside this event handler denotes the event object of the onselect event. The properties available here can be used to get any data passed to the application or can do any initialization here using the event.

Example

This sample code demonstrates the event:

function onInitDone(eventObject)
{
 var ev = application.event;
 alert("Application definition : \n" + cordys.getXML(ev.applicationDefinition));
 alert("Event data : \n" + cordys.getXML(ev.data));
}

Applies to

Form