Uploaded image for project: 'Blossom'
  1. Blossom
  2. BLOSSOM-239

Defining a Blossom component with a DynamicFragmentDefinition

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Neutral
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      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.

      For now, we're using the @PreRegister annotation to define this property:

      @PreRegister
      public void register(BlossomTemplateDefinition templateDefinition) {
        FragmentDefinition fragmentDefinition = new DynamicFragmentDefinition();
        templateDefinition.setFragmentDefinition(fragmentDefinition);
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            llozes@hotetec.com Leo Lozes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response: