It is about customization for the blog comments .
So the comments.jsp from the path "/libs/collab/commons/
It is throwing an error for the method setPath() .
In the pom.xml of the project I have already included the dependencies .
<dependency>
Please let me know if I have missed out anything
Solved! Go to Solution.
Views
Replies
Total Likes
I heard back from the Eng team about this. This is their advice:
If you're using CQ 5.5, you should consider upgrading to AEM 6.0, which better supports extensibility.
For AEM 6.0 communities client side customization, there is a tutorial :
http://docs.adobe.com/docs/en/aem/6-0/develop/social-communities/tutorials/extend-comments.html
For AEM 6.0 communities server side customization, there is a github sample :
https://github.com/Adobe-Marketing-Cloud/aem-scf-sample-components-customize
If you continue with CQ 5.5, then more information is needed, including the error log message.
Views
Replies
Total Likes
What version of CQ are you using?
Views
Replies
Total Likes
I heard back from the Eng team about this. This is their advice:
If you're using CQ 5.5, you should consider upgrading to AEM 6.0, which better supports extensibility.
For AEM 6.0 communities client side customization, there is a tutorial :
http://docs.adobe.com/docs/en/aem/6-0/develop/social-communities/tutorials/extend-comments.html
For AEM 6.0 communities server side customization, there is a github sample :
https://github.com/Adobe-Marketing-Cloud/aem-scf-sample-components-customize
If you continue with CQ 5.5, then more information is needed, including the error log message.
Views
Replies
Total Likes
Thanks for the input.
we are using CQ 5.6.1 and will not upgrading as off now.
The error that i see will building in ecllipse. Please let me know I could solve it
[ERROR] Failed to execute goal org.apache.sling:maven-jspc-plugin:2.0.4-incubator:jspc (compile-jsp) on project connect-app: Unable to compile class for JSP:
[ERROR]
[ERROR] An error occurred at line: 63 in the jsp file: /apps/collab/commons/components/comments/comments.jsp
[ERROR] The method setPath(String) is undefined for the type CommentSystem
[ERROR] 60:
[ERROR] 61: if(isRenderByForm ){
[ERROR] 62:
[ERROR] 63: cs.setPath(CollabUtil.getPagePath(editComment));
[ERROR] 64: request.setAttribute("isRenderByForm", isRenderByForm);
[ERROR] 65: request.setAttribute("commentsRoot", childComment.getPath());
[ERROR] 66: }
Views
Replies
Total Likes
added the same versions from felix console the problem was solved. Thanks for looking into this.
Views
Replies
Total Likes