ActionScript 2.0 Components Language Reference |
|
|
|
| XUpdateResolver component > Using the XUpdateResolver component > XUpdateResolver component parameter | |||
The XUpdateResolver component has one authoring parameter, the Boolean includeDeltaPacketInfo parameter. When this parameter is set to true, the update packet includes additional information that can be used by an external data source to generate results that can be sent back to your application. This information includes a unique transaction and operation ID that is used internally by the data set.
|
NOTE |
The additional information that is included in the update packet invalidates the XUpdate. You would choose to add this information only if you were going to store it in a server object and use it to generate a result packet. In this scenario, your server object would pull the information out of the update packet for it s own needs and then pass on the (now valid) XUpdate to the database. |
The following is an example of an XML update packet when the includeDeltaPacketInfo parameter is set to false:
<xupdate:modifications version="1.0" xmlns:xupdate="http://www.xmldb.org/xupdate">
<xupdate:remove select="/datapacket/row[@id='100']"/>
</xupdate:modifications>
The following is an example of an XML update packet when the includeDeltaPacketInfo parameter is set to true:
<xupdate:modifications version="1.0" xmlns:xupdate="http://www.xmldb.org/xupdate"
transId="46386292065:Wed Jun 25 15:52:34 GMT-0700 2003">
<xupdate:remove select="/datapacket/row[@id='100']" opId="0123456789"/>
</xupdate:modifications>
|
|
|
|