问题描述
我打算创建一个吊索模型来扩展 OOTB xfPage 组件 /libs/cq/experience-fragments/components/xfpage
我在 apps/myProjecy/cpomponent/xfPage --> 上创建了一个代理 xfPage 组件,其 sling:resourceSupertType = /libs/cq/experience-fragments/components/xfpage
我在 content/experience-fragments/myContentFolder/exp-fragment-master/variant 下有一个使用 xfPage 模板创建的体验片段。
是否有我可以在下面的模型中使用的 xfPage 实例?
@Model(
adaptables = {SlingHttpServletRequest.class},adapters = { ComponentExporter.class,ContainerExporter.class,Page.class},defaultInjectionStrategy = DefaultInjectionStrategy.OPTIONAL,resourceType = "myProjecy/cpomponent/xfPage"
)
@Exporter(name = "jackson",extensions = "json")
@JsonSerialize(as = xfPageModel.class)
public class xfPageModel {
@Self
@Via(type = ResourceSuperType.class)
private xfPage xfPage ;
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)