Expand my Community achievements bar.

Edit Bar of component disappearing

Avatar

Level 7

Hello All,

I have a simple component which reads some data from back end service and includes html sections based on response data.

Component is properly getting the data from back end service and I was able to add the component from side kick.

Once the component is added and if I refresh the page or come to the page later, the component "edit bar" is not displaying , so i was not able to get to dialog.

[img]Screenshot.jpg[/img]

cq:editconfig <?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" cq:actions="[text:Status Info,-,edit,delete,insert,copymove]" cq:disableTargeting="{Boolean}true" cq:layout="editbar" jcr:primaryType="cq:EditConfig"> <cq:inplaceEditing jcr:primaryType="cq:InplaceEditingConfig" active="{Boolean}true" configPath="../../dialog/items/basic/items/title" editorType="text"/> </jcr:root> content xml <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" jcr:primaryType="cq:Component" jcr:title="Status Info" sling:resourceSuperType="foundation/components/parbase" allowedParents="[*/parsys]" componentGroup="App Components"/> 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" helpPath="en/cq/current/wcm/default_components.html#Text" title="Text" xtype="tabpanel"> <items jcr:primaryType="cq:WidgetCollection"> <basic jcr:primaryType="cq:Widget" anchor="100%" title="Basic" xtype="panel"> <items jcr:primaryType="cq:WidgetCollection"> <title jcr:primaryType="cq:Widget" fieldLabel="Status Info" name="./title" xtype="textfield"/> </items> </basic> </items> </jcr:root> component JSP <%@include file="/apps/testapp/components/global/global.jsp"%> <c:set var="title" value="<%=properties.get("title", new String())%>" /> <c:out value="title" />
1 Reply

Avatar

Community Advisor

Is it not displaying the editbar or the content of component as well? check your error.log to see if it has any error, you can also try removing the cq:editConfig and revert to default dialog editing option so as to rule out the case of cq:editConfig being a faulty node.