on 2021 Apr 30 5:00 AM
Hi guys,
Noticed that the sap.ui.core.XMLComposite control is now deprecated. What's the reason for this and what would be the recommendations going forward as it's replacement? The usual custom controls?
Thanks.
Request clarification before answering.
Hello Samuel,
we had to deprecate the XMLComposite due to major performance issues inside larger applications. Sadly there is no (planned) replacement for this control and therefore the only solution would be to create a custom control.
Best Regards,
Janik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sperstorfer,
yes exactly the mentioned implementation should do just fine and should perform better than the XMLComposite.
Best Regards,
Janik
Hello janikkoeppel
Do we have somewhere a demo or a sample showing how to use a fragment for the custom Control view ?
Migrating to this standard control, I must implement a renderer, which is by far less convenient than my previous XML View...which was precisely the point of this XMLComposite feature.
thanks for any guidance
Hello chrisdugne,
If I understand your first question correctly there is sadly no such thing as a fragment view for custom Controls. You indeed have to implement a renderer. I would suggest extending the standard composite control which got mentioned in a previous comment. You indeed have to implement a renderer to achieve the same result as before.
Sorry for the inconvenience.
Best Regards,
Janik
User | Count |
---|---|
72 | |
21 | |
8 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.