cancel
Showing results for 
Search instead for 
Did you mean: 

Use XML view definition/semantics in HTML file

jrondorf
Participant
0 Kudos

Hi all,

is there a way to use the XML view definition in a HTML file? I am taking any hack you can provide 🙂

Use case: In certain conditions, it is only possible to use one (1) HTML file for loading all components. Rather by defining the view components in the HTML semantics, I would like to use the XML definition, but directly in a HTML file. Of course the javascript controller coding should be placed there also.

I am aware of following page: Declarative Programming Model - sap.ui.core

Best regards, Jannis

Accepted Solutions (1)

Accepted Solutions (1)

saivellanki
Active Contributor
0 Kudos

Hi Jannis,

You mean something like this? Plunker

Please correct me, if my understanding is wrong.

Regards,

Sai Vellanki.

jrondorf
Participant
0 Kudos

That is great, thanks! I was not aware of this:

<script id="tableView" type="sapui5/xmlview">

Cheers, Jannis

Answers (0)