Expand my Community achievements bar.

SOLVED

How are CQ5 blog entries saved in JCR?

Avatar

Level 3

I am using a CQ5 social blog page. I can see the new entries are saved in the  /social/blog/components/entryform using this form element

<code> <form action="<%= xssAPI.getValidHref(currentPage.getPath()) %>.social.createblogentry.html" </code>

I am trying to find how does it save the Blog Entry using this component : /social/blog/components/entrytext Since this component is nowhere present in the entryform component JSP

1 Accepted Solution

Avatar

Correct answer by
Level 7

Hi Riju.
Its the "CreateBlogEntryServlet" -servlet that takes care of the creation of these blog entries.
That servlet will listen to the post request that contains the createblogentry sling selector and then work its magic on the entryform and create the 
structure that you have noticed appear in the content tree.

/Johan

View solution in original post

1 Reply

Avatar

Correct answer by
Level 7

Hi Riju.
Its the "CreateBlogEntryServlet" -servlet that takes care of the creation of these blog entries.
That servlet will listen to the post request that contains the createblogentry sling selector and then work its magic on the entryform and create the 
structure that you have noticed appear in the content tree.

/Johan