Open taosha121 opened 2 years ago
Hello @taosha121 !
You might want to use a fragment instead of a nested view, see XML Fragments. In that case, XML Templating recursively descends into the fragment as well.
Best regards, Thomas
Thank you for your clarification @ThomasChadzelek
Does UI5 have plan to supply a more efficient way to use template in future(like ngIf in angularjs)?
Since my project is a big one and there are lots nested XMLView and related controllers we have no resources to refactor them. So I think at this time I cannot use
Hello @taosha121 ,
Thank you for sharing this finding. I've created an internal incident 2280106147. The status of the issue will be updated here in GitHub.
Regards, Petar
Hello @dimovpetar , Thank you for this information, I cannot wait to try this new feature :)
This item will be tackled in backlog item CPOUI5FRAMEWORK-452. Further updates will be posted here.
OpenUI5 version: 1.97.2 Browser/version (+device/version): Chrome Version 98.0.4758.102 Any other tested browsers/devices(OK/FAIL): Fail URL (minimal example if possible): N/A User/password (if required and possible - do not post any confidential information here):
Steps to reproduce the problem:
What is the expected result?