Is there any way to create an Object using the ObjectBuilder with an id property that is bound to another value?
The following does not work since "id" is reserved:
<ObjectBuilder generator="{Object}" cache="none">
<Properties id="{event.list}" />
</ObjectBuilder>
The following does not work either since event.list should be bound:
<RemoteObjectInvoker instance="{jobService}" method="DeleteJob"
arguments="{{id:event.list}}">
Is there any other way to send an "id" to a server API?
Just to clarify: this code is inside an EventHandler in the mapping file:
<EventHandlers type="{JobEvent.DELETE}">
<ObjectBuilder .../>
<RemoteObjectInvoker instance="{jobService}" method="DeleteJob" arguments="{{id:event.list}}">
<resultHandlers>
...
</resultHandlers>
</RemoteObjectInvoker>
</EventHandlers>