Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[e4-dev] Merging E4 fragments into app model after E3 workbench has been loaded

Hi devs,
The ModelAssembler only merges fragments into the app model if it can find the parent to extend. If we have an E4 app with compat layer AND the fragments are extending elements generated within E3 workbench intitialization phase, the fragments are not merged.

I have experimented a bit with the internals of E4Application/ModelAssembler to load E4 fragments into the application model after the compat layer has loaded the E3 workbench.
The result is that it seems to be possible to merge E4 fragments into E3 API driven products, i.e. E4 with compat layer.

Now, I am not sure if I am missing some obvious points using this approach as seemed to work quite smoothly.
As the various renderes listen to model changes, I expect them to handle dynamically added elements properly.
Do you have or know of any concerns?

Back to the top