cancel
Showing results for 
Search instead for 
Did you mean: 

SAPUI5 xml view dynamically render a control

sreehari_vpillai
Active Contributor
0 Kudos

Hi There.

Is there any options to dynamically render a control in xml view ? I will specify the control name and other properties like below, and expectation is that it renders that control with the other properties. I understand that I can programmatically do it , of course.

<Control component="Input" type="Number" value="123.00"/>

Sree

Accepted Solutions (1)

Accepted Solutions (1)

WouterLemaire
Active Contributor

are you looking for something like a factory function? https://ui5.sap.com/#/topic/335848ac1174435c901baaa55f6d7819

Answers (2)

Answers (2)

sreehari_vpillai
Active Contributor
0 Kudos

this, my friend is what I am looking for. thank you

junwu
Active Contributor
0 Kudos

xml template can do, but usually you won't go that route.