cq对话框中radiobutton中的复选框

时间:2015-01-12 13:45:21

标签: widget cq5 aem

如何在cq对话框中的单选按钮内实现复选框?我的cq对话框中有以下代码:

<<eyecatcher
            jcr:primaryType="cq:Widget"
            title="title"
            name="title"
            type="radio"
            xtype="selection">
        <options jcr:primaryType="cq:WidgetCollection">
            <yes jcr:primaryType="nt:unstructured"
                text="yes"
                value="yes" >
                <items jcr:primaryType="cq:WidgetCollection">
                    <new jcr:primaryType="cq:Widget"
                        fieldLabel="new"
                        name="./new"
                        type="checkbox"
                        xtype="selection">
                    </new>
                    <offer jcr:primaryType="cq:Widget"
                        fieldLabel="Offer"
                        name="./offer"
                        type="checkbox"
                        xtype="selection">
                    </offer>
                </items>
            </yes>
            <no jcr:primaryType="nt:unstructured"
                text="no"
                value="no"/>
        </options>
    </eyecatcher>

当我点击对话框时,我只能看到单选按钮。我做错了什么?

0 个答案:

没有答案