Currently, I have set up OPENUI5 to use a ODataV4 data source. This source includes a functionImport on a Collection without parameters. In the XML View, I have defined
<Title text="{/Orders/OrderService.MyFancyFunction()}"/>
In the network trace I can see the function being called correctly:
Request:
GET Orders/OrderService.MyFancyFunction() HTTP/1.1
Response:
{"@odata.context":"http://localhost:50156/odata/$metadata#Edm.String","value":"Happy Hippo"}
However, the string is not shown on screen; inspecting the element through the UI5 inspector shows "text" being an empty string, but also having a correct binding to the function shown above.
Any ideas?
Thanks, regards
Jörg Fischer
这似乎是OPENUI5中当前ODataV4实现中的一个错误:当函数不使用命名空间时,它很有效。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.