Skip to content

Commit

Permalink
[Container] Missing @Exporter annotation - JSON output skipped in mod…
Browse files Browse the repository at this point in the history
…el.json Export adobe#1407
  • Loading branch information
stefanseifert committed Feb 18, 2021
1 parent 72a41e8 commit 74ea822
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,20 @@

import org.apache.sling.api.SlingHttpServletRequest;
import org.apache.sling.api.resource.Resource;
import org.apache.sling.models.annotations.Exporter;
import org.apache.sling.models.annotations.Model;
import org.apache.sling.models.annotations.injectorspecific.ScriptVariable;
import org.jetbrains.annotations.NotNull;

import com.adobe.cq.export.json.ExporterConstants;
import com.adobe.cq.wcm.core.components.models.LayoutContainer;

/**
* Layout container model implementation.
*/
@Model(adaptables = SlingHttpServletRequest.class, adapters = LayoutContainer.class, resourceType = LayoutContainerImpl.RESOURCE_TYPE_V1)
@Exporter(name = ExporterConstants.SLING_MODEL_EXPORTER_NAME ,
extensions = ExporterConstants.SLING_MODEL_EXTENSION)
public class LayoutContainerImpl extends AbstractContainerImpl implements LayoutContainer {

/**
Expand Down

0 comments on commit 74ea822

Please sign in to comment.