How can I get inplace editing to work for granite UI if my RTE doesn't have name property as "text". | Community
Skip to main content
Prahlad
Level 2
October 16, 2015
Solved

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

  • October 16, 2015
  • 4 replies
  • 1796 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

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

4 replies

edubey
Level 10
October 16, 2015

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.

Prahlad
PrahladAuthor
Level 2
October 16, 2015

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.

smacdonald2008
Level 10
October 27, 2015

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.

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
October 28, 2015

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