Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Multi-view web component

jeanne.limMar 28 2019 — edited Apr 1 2019

Hi,

I am creating a web component with multiple views and I read this article

https://blogs.oracle.com/groundside/jet-composite-components-xiv-a-pattern-for-multi-view-components-using-ojmodule

In this example, the view models and views are loaded in the define block because the location has to be relative to the component folder. Is there another way to load it if I don't put it in the define block? Normally I would use ojs/ojmodule-element-utils to create the view and view model, but it doesn't seems to work when working inside a component.

Thanks.

Comments
Post Details
Added on Mar 28 2019
2 comments
248 views