Hi,
I've created a component for using the in-context editing at .page level.
Also, I've created a .page and used the same component inside that page.
Now, after adding the component when I try to edit that component nothing happens but after double click it gives me to edit the component which I basically do when I click edit on any component.
So, basically the in-context editing is not working.
I've followed the same process as mentioned in SIteDeveloper Guide.
Below is the XSL code added in Appearance section :
<!DOCTYPE html-entities SYSTEM "http://www.interwoven.com/livesite/xsl/xsl-html.dtd">
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- Skin: Default XSL -->
<xsl:include href="http://www.interwoven.com/livesite/xsl/HTMLTemplates.xsl"/>
<xsl:include href="http://www.interwoven.com/livesite/xsl/StringTemplates.xsl"/>
<xsl:template match="/">
<h2>
<span in-context-edit="$MODEL{/Properties/Data/Datum[@ID='ID4']/@ID}">$MODEL{/Properties/Data/Datum[@ID='ID4']/@ID}</span>
</h2>
<div in-context-edit="{/Properties/Data/Datum[@Name='Heading Of Page']/@ID}">
<xsl:value-of select="/Properties/Data/Datum[@Name='Heading Of Page']/@ID" />
</div>
<div>
<xsl:value-of select="Properties/Data/Datum[@ID='bodyOfPage']" disable-output-escaping="yes" />
<xsl:value-of select="Properties/Data/Datum[@ID='numberOnPage']" />
</div>
</xsl:template>
</xsl:stylesheet>
Below code added in Content XML section :
<Data>
<Datum ID="headingOfPage" Type="String" Name="Heading Of Page"/>
<Datum ID="bodyOfPage" Type="Textarea" Name="Body Of Page"/>
<Datum ID="numberOnPage" Type="Number" Name="Number On Page"/>
<Datum ID="ID4" Type="Number" Name="Editable Number On Page" Optimizable="true"/>
</Data>
Please help me regarding the same !
Any docs, pdfs or pptx related to same can be helpful.
Any suggestions/guidance ?
T.S. : 7.4.1