In Tridion 2011 SP1, I have a embedded multivalued field 'links'. This embedded field has a component link field 'internal_link'. The comp link has another embedded multivalued field 'sections'. This embedded field has 'category' as a field inside it.
Now to make 'category' site editable I have used the below markup.
@foreach(dynamic link in Fields.links){
@foreach(dynamic sec in link.internal_link.sections){
<tcdl:ComponentField name="Fields.links[@link.Index].internal_link.sections[@sec.Index].category">
...
</tcdl:ComponentField>
This markup produces the following source which is editable for comp links only and not the category field of the comp link. Please provide a direction-
<!-- Start Component Field: {"XPath" : "tcm:Content/custom:Content/custom:links[1]/internal-link[1]"} -->
UPDATE 1 - @Nuno, I was diverted to other site edit issue for last few days. Now I read
the approach of faking comp presentation. In the container HTML I see the
markup for Component Presentation, now where I can add a parameter
'IsDynamic'in this markup as suggested in your other post or we need to
change the CT to Dynamic from Embedded.
<!-- Start Component Presentation: {"ComponentID" : "tcm:33-5988", "ComponentModified" : "2013-08-21T22:10:15", "ComponentTemplateID" : "tcm:33-4482-32", "ComponentTemplateModified" : "2013-08-08T14:53:05", "IsRepositoryPublished" : true} -->