Expand my Community achievements bar.

SOLVED

How can I get inplace editing to work for granite UI if my RTE doesn't have name property as "text".

Avatar

Level 2

Hi,

One of my component have name="./eventDetails" and xtype="richtext". We want to upgrade to AEM6.1 but not able to point configure cq:inplaceEditiong so that it use existing name in component.

dialog.xml

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
    jcr:primaryType="cq:Dialog"
    xtype="dialog">
    <items
        jcr:primaryType="cq:Widget"
        xtype="tabpanel">
        <items jcr:primaryType="cq:WidgetCollection">
            <tab1
                jcr:primaryType="cq:Panel"
                border="false"
                height=""
                title="Tab 1"
                width="">
                <items jcr:primaryType="cq:WidgetCollection">
                    <eventDetails
                        jcr:primaryType="nt:unstructured"
                        fieldLabel="Event Details"
                        name="./eventDetails"
                        xtype="richtext"/>
                </items>
            </tab1>
        </items>
    </items>
</jcr:root>

In JSP I am using:

<cq:text property="eventDetails" tagClass="eventDetails"/>

I have tried to follow as in http://docs.adobe.com/docs/en/aem/6-1/develop/components/multiple-inplace-editors.html but this has a bug. In-place editors creates the content node with the copy but it doesn't pull the copy again in in-place editor when try to edit again.

Regards,

PM

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi Prahlad

As mentioned by Scott, its a bug, which is already open internally.
Please refer to Customer Care for more information on this Bug(CQ-56488).

Customer Care Link:- https://daycare.day.com/public/contact.html
Email :- cuscare@adobe.com


Thanks and Regards
Kautuk Sahni



Kautuk Sahni

View solution in original post

4 Replies

Avatar

Level 10

Inplace Editing uses text property RTE, I guess you can take text property from dialog and then assign it to any required variable using <c:set>

let me know if i misunderstood your question.

Avatar

Level 2

It will work for places where component is used for the first time but existing component created based on above dialog.xml will show missing copy. I tried configuring component based on http://docs.adobe.com/docs/en/aem/6-1/develop/components/multiple-inplace-editors.html but it is adding copy right but not pulling the copy when try to edit.

Avatar

Level 10

After looking into this and talking to internal Adobe ppl - there is an open bug for this. You can get an update by opening a support ticket and referencing bug CQ-56488.

Avatar

Correct answer by
Administrator

Hi Prahlad

As mentioned by Scott, its a bug, which is already open internally.
Please refer to Customer Care for more information on this Bug(CQ-56488).

Customer Care Link:- https://daycare.day.com/public/contact.html
Email :- cuscare@adobe.com


Thanks and Regards
Kautuk Sahni



Kautuk Sahni