UGC commands
This section contains all the commands used by User Generated Content. The commands are listed as: TCDL tags, JSP tag library tags, and ASP.NET Server Controls. The commands you use depends on the Web site technology you use.
- Context Variable
Render the value of a variable. This tag only needs to be used in ASP.NET; In JSP, you can simply enclose the variable in variable delimiters${and}. - Comments
Retrieve comments for a Component or a Page for display on the Web page. - Item statistics
Retrieve various properties related to the comments or ratings of a Page of Component for display on the Web page. - Comment iterator
Iterate over the comments returned by a call toComments(place element inside augc:Commentselement). - Post rating
Posts a rating to the User Generated Content database (place the tag above your HTML form for submitting ratings). - Manage comments
Submits a new comment to the User Generated Content database, or updates or removes an existing one. Place the 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. - Upvote or Downvote Comment
Raises or lowers the comment score of a comment. Place the tag above your HTML form for upvoting or downvoting comments. - Conditional
A conditional statement. The element must have at least one<When>child element, which may be followed by any number of other<When>child elements, and may then be followed by an<Otherwise>child element. - If-then-clause in conditional
The "if-then" part of a conditional statement. This must be the first child of a<Choose>element, may be followed by any number of<When>siblings and one<Otherwise>sibling. - Else-clause in conditional
The "else" part of a conditional statement. The element must be the second child of a<Choose>child element, and must be preceded by one or more<When>sibling elements. The contents of this element specify what to execute and/or display if none of the conditions in the various<When>clauses hold.