Manage comments

LanguageCommand
ASP.NET Server Control<ugc:ManageComments runat="server">
JSP Custom Tag<ugc:ManageComments>
TCDL tag<tcdl:ManageComments>

Description: Submits a new comment to the UGC database, or updates or removes an existing one. Place this tag above your HTML form(s) for submitting, editing or removing comments. Do not perform multiple tasks (say, both creating and updating a comment) in a single form.

Attributes:

Attribute name (JSP or TCDL)Description
itemURI (JSP or TCDL) or ItemURI (ASP.NET)The Content Manager URI that uniquely identifies the Page or Component you are submitting a comment for.
postParameter (JSP or TCDL) or PostParameter (ASP.NET)(optional) The name of the form parameter that contains the text of a new comment that the visitor is submitting. Defaults to an empty string (that is, you are not submitting a new comment).
usernameParameter (JSP or TCDL) or UsernameParameter (ASP.NET)(optional) The name of the form parameter that contains the identity of the visitor submitting, updating or removing the comment. Defaults to an empty string (no user specified).
emailParameter (JSP or TCDL) or EmailParameter (ASP.NET)(optional) The name of the form parameter that contains the e-mail address of the visitor submitting, updating or removing the comment. Defaults to an empty string (no e-mail address specified).
editParameter (JSP or TCDL) or EditParameter (ASP.NET)(optional) The name of the form parameter that contains the updated comment that the visitor is submitting. Defaults to an empty string (that is, you are not updating an existing comment).
commentIdParameter (JSP or TCDL) or CommentIdParameter (ASP.NET)(optional) The name of the form parameter that contains the unique identifier of the comment that the visitor want to update or remove. Defaults to an empty string (that is, you are not updating or removing an existing comment).
removeParameter (JSP or TCDL) or RemoveParameter (ASP.NET)(optional) The name of the hidden input parameter in your form that contains the ID of the comment you want to remove. In the samples, this input parameter will be called removeComment. Defaults to an empty string (that is, you are not removing a comment).