2024 Nov 29 2:05 PM - edited 2024 Nov 29 2:06 PM
Hi all,
i want to bind a bound function to an control as described here: https://sapui5.hana.ondemand.com/sdk/#/topic/b54f7895b7594c61a83fa7257fa9d13f
we have great examples for unbound functions:
<VBox id="getAvailableItems" binding="{path : '/GetAvailableItems(...)', parameters : {$select : ['ProductName', 'ProductId']}}">
<List id="xyz" items="{value}">
<items>
<ObjectListItem title="{ProductName}" />
</items>
</List>
</VBox>
but for bound functions only the js part is referenced:
var ...
oSalesOrderContext = oTable.getSelectedItem().getBindingContext(),
oAction = oModel.bindContext("name.space.InvoiceCreated(...)", oSalesOrderContext);
oAction.invoke()...
I've been trying to do this directly with a binding in the xml view for some time now, but it doesn't work. Has anyone got it working?
Request clarification before answering.
Ok, i got it ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
57 | |
10 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.