-
Improvement
-
Resolution: Workaround exists
-
Neutral
-
None
-
3.1.3
-
None
We are trying to define a component, and we wonder if it would be possible to define the fragmentDefintion as a @Template property, as explained in the docs .
We checked the Blossom module code and didn't find anything related with the DynamicFragmentDefinition, so maybe it's still not implemented.
Workaround
We're using the @PreRegister annotation to define this property:
@PreRegister public void register(BlossomTemplateDefinition templateDefinition) { FragmentDefinition fragmentDefinition = new DynamicFragmentDefinition(); templateDefinition.setFragmentDefinition(fragmentDefinition); }
Acceptance criteria