How are CQ5 blog entries saved in JCR? | Community
Skip to main content
Riju-Mahna
Level 2
October 16, 2015
Solved

How are CQ5 blog entries saved in JCR?

  • October 16, 2015
  • 1 reply
  • 1336 views

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

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 Ojjis

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

1 reply

Ojjis
OjjisAccepted solution
Level 7
October 16, 2015

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