CQ5页面中的通用组件 [英] Generic component in CQ5 page

查看:65
本文介绍了CQ5页面中的通用组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题很基本。我正在创建一个新模板,在该模板中,我将具有一个使用DIV元素的具体结构。但是,如果要使用DIV,则在几乎7-8的时间内,我需要用户输入数据。

My question is very basic . I am creating a new template and in that template, I will have a concrete structure using DIV elements. But in almost 7-8 if the DIV's, I need the data to be entered by the user.

我可以使用哪些组件/代码行来包含所有这7个代码? -8 DIV由页面创建者可编辑和可自定义吗?

What component/line of code I can use to have all those 7-8 DIV's editable and customizable by the page creator ?

我尝试了以下段落:

<cq:include path="par" resourceType="foundation/components/parsys"/>

但页面上仅显示前一个。 !!

But only the top one appears on the page. !!

推荐答案

要获取多个段落,只需在cq:include标记中重命名路径值即可。还要在此处

For having multiple paragraph just rename the path value in the cq:include tag. also check here

这篇关于CQ5页面中的通用组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆