Comment System in XPages
source link: https://www.codesd.com/item/comment-system-in-xpages.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Comment System in XPages
I'm trying to implement a simple comment system in XPages. I have come across examples that create response documents from an existing document. The issue I'm having is when I open a new XPage and want to add a comment but I don't have an existing document because it hasn't been saved yet.
Is there a way I can create comments (response documents) on an unsaved document somehow? Or is there a different way to implement a comment system that doesn't use response documents?
Thanks for any tips.
If this is XPages then don't use a response document. Use a manual key of some sort. I prefer @Unique style keys - some people use UNIDS.
There's little to no value in using pure response document in XPages applications.
Patrick asks the key question. How can you have a "child" document if you don't first save the "parent" document.
Now of course you can save the parent and the child at the same time.
Related Articles
Comments system using php in the body, and there is an error on the result
My comments system does not add content to my database
Comment system using the Redis database system
Ajax / jQuery Comment System
Adding my comments system to the index page
How to prevent abuse of comments system
PHP comments system using Laravel
Comments System .net
Is there a & ldquo; drop in & rdquo; comments system for webapps, allowing users to log in using Facebook or Twitter
Ideas for & ldquo; bumping up & rdquo; messages in a file-based comment system
Facebook Comment System for the website asp.net mvc 2
RoR: resources nested with Polymorphic Association (comment system)
Advantages and Disadvantages of Comments Systems and APIs (Disk vs. Facebook Comments vs. Intense Debate vs. Echo)?
How to find & ldquo; page & rdquo; number for a comment in a paginated comments system?
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK