on ‎2015 Sep 25 4:13 PM
Hi all,
I read about new features in sapui5 - function call in expression binding:
Expression Binding - User Interface Add-On for SAP NetWeaver - SAP Library
On this page is only information, that we should call f(...). I try call my function (from view controler) but without success. Maybe someone has working example how to use this new feature, how to define function in view controler and how to use it in XML View?
I found similar question on: http://stackoverflow.com/questions/31615837/call-controller-function-from-xml-binding-expression
But solution from above page: "{= f(checkSelectedItems, null, ${odata>CustomerId}) }" doesn't work.
Thanks,
Maciej
Request clarification before answering.
why would you use expression binding if you have to call function from controller anyway?
why dont use old formatter syntax?
{ parts : [ { path : 'odata>CustomerId' } ], formatter : '.checkSelectedItems' }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 8 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.