pp108 : xforms-onsynchronized

xforms-onsynchronized


This event is fired when the business object(s) are synchronized.

Event Information

To invoke

Modify the data on the UI and click Save

Default Action

Initiates any action associated with this event

Named Script

xforms-onsynchronized


Event Object Properties

Property

Description

faultNode

Object that denotes the SOAP-fault node returned by the Application Service



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

Remarks


This event applies only to models that have transactional data.

Example


This sample code demonstrates how the method can be used.

function EmployeesModel_onSynchronized(eventObject) 
{ 
   //Confirm for saving from the user 
   if(! eventObject.faultNode) 
   { 
      alert( " Data saved successfully. " ); 
   } 
}

Applies to


Model