Hello,
I'm migrating an application from JET 7 ES6 to JET 9 Typescript. I have several composites that need to be port over. I went ahead and created the composites (tr-header) by scaffolding a new component in TS and applies changes. However, I'm getting the following error when serving the app.
Uncaught (in promise) Error: tr-header with id '': Error while creating component. Error: tr-header with id '': The composite View is not one of the following supported types: string, Array of DOM nodes, DocumentFragment
at Object.throwError (ojcustomelement.js:633)
at Object.oj.CompositeElementBridge._getDomNodes (ojcomposite.js:814)
at ojcomposite.js:398
at Object.throwError (ojcustomelement.js:633)
at ojcomposite.js:408
I've tried removing the id element from the composite view (tr-header.html), set id to static text, used :id, and used :id="[[$uniqueId]]". I've tried setting values in the viewmodel in different lifecycles, and nothing seems to work. What am I missing?
Any suggestions would be greatly appreciated.
Best,
-karen