4

Comment System in XPages

 2 years ago
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.
neoserver,ios ssh client

Comment System in XPages

advertisements

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.

Tags xpages

Related Articles

Comments system using php in the body, and there is an error on the result

i am wrinting this code below in notepad and i saved in .html extent , i want to design a simple comment system with a database (which is notepad ) to save the comments , but when i click on the submit button it apears there is error in an specific c

My comments system does not add content to my database

I am creating a comment system for every post that is on my site. I want this system to recognize the user that is logged in so all they have to do is write their comment and the code will automatically add their user_id and associate the comment wit

Comment system using the Redis database system

I am trying to build a comment system using Redis database, I am currently using hashes to store the comment data, but the problem I am facing is that after 10 or 12 comments, comments lose their order and start appearing randomly, anyone know what d

Ajax / jQuery Comment System

Building a comment system with Ajax and JQuery and I want the div the comments are in to reload after a comment is added. It posts just fine. This is what I have so far. The function getComments queries the database and generates the html $.ajax({ ty

Adding my comments system to the index page

i have a comment system associated to a shipment model in my app where a user can have many shipments and a shipment can have many comments. Everything is working perfectly the only problem is that i want my whole comment system to be shown in the in

How to prevent abuse of comments system

I am working on a social networking site where people can comment on posts, photos, videos etc. Commenting is similar to facebook commenting system, but I am worried about that it might be abused by some people. People can type one word and press ent

PHP comments system using Laravel

I am developing a website using laravel PHP and trying to do a comment system using the following structure: - Comment 1 (id = 1) -- Reply 1 (id = 2) (parent_id = 1) --- Reply 2.1 (id = 3) (parent_id = 2) -- Reply 2 (id = 4) (parent_id = 1) I am wond

Comments System .net

I have my web site with a blog (created in blogengine), but i need to integrate a comment system to the site away from the blog. for example i have different modules to manage news and events and i want visitors to leave their comments for the module

Is there a & ldquo; drop in & rdquo; comments system for webapps, allowing users to log in using Facebook or Twitter

I'm looking for some middleware that handles adding a "comment" system on to arbitrary pages in a webapp, that allows the user to use their Facebook or Twitter (or perhaps Google and other similar systems) to leave the comment. This sort of func

Ideas for & ldquo; bumping up & rdquo; messages in a file-based comment system

I'm working on a file based commenting system with in-line comments (only 1 level). Despite being a newby I've managed to create a system in which users are able to add new comments and use @[NUMBER] to add their reply below another comment. My file

Facebook Comment System for the website asp.net mvc 2

I know this sort of question has probably been asked many times before, but I can't find an answer. I have an asp.net mvc 2 website for which I've built a membership system based on the standard asp.net membership provider. I would like to add to tha

RoR: resources nested with Polymorphic Association (comment system)

I'm following Ryanb's polymorphic association video to implement a comment system. However, I'm using nested resources, and would like some help I mimiced most of the stuff in the video but instead of this: def load_commentable resource, id = request

Advantages and Disadvantages of Comments Systems and APIs (Disk vs. Facebook Comments vs. Intense Debate vs. Echo)?

With the release of the new Facebook commenting module, could people please share their experiences with the various commenting systems -- specifically, Disqus, Echo, Intense Debate, and Facebook Comments? What are the pros and cons of each system? T

How to find & ldquo; page & rdquo; number for a comment in a paginated comments system?

I have a comment system with pagination, 10 per page. I want to make permalinks to the comments. I'd like to be able to have the script figure out what page the comment is on without having to specify the page number and without excessively large que

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK