Skip to content

Comment

The Comment component used to when displaying data in a comment format within a List.

  • How to Create
  1. Select Comment type in New Component Popup Screen. (Step1)

  2. Enter the Component Name, the name displayed on the screen (Symbolic String or Custom Name), and the created Business Object.

    INFO

    The Layout Type Selection in Step2 and the Field Mapping in Step4 are skipped.

  • Applicable List of Component Attributes
  1. Tab Pane Id: When the Screen is structured with a Tab Component and this Component is placed at the bottom, the Tab Component's Panel Id value is registered to link it with the Tab.
  2. Page Size: When the Component is loaded or when the user clicks the + More button, you can set the number of comments loaded at once. The default value is set to 20.
  3. Style - Background Color: Set the background color for the Component.
  • Available List of Services
NamePlatformDescription
loadCommonEvent that occurs when data loading
Inner-button-clickCommonThe Event that occurs when clicking on a Reply (Comment) in the Comment Component

Load: The Event that occurs when the Comment Component is loaded, and it's a mandatory Service to be registered when using the Comment Component.

INFO

To load data, we use a Lambda-Interface, with Optional Required set to /CalsComWebCommonSelectData, Type set to Data, and Target set to List Component.

  1. Inner-Button-Click: The Event triggered when clicking on a Reply (댓글) in the Comment Component calls for invoking a screen for re-entering comments. Typically, the screen for entering comments utilizes a Bottom Panel.

    [Image1. This action is a service applied to the reply Control on the Canvas.]  
    

    [Image2. Path Property of Show Bottom Panel]  
    

  • Available Controls
  1. Label: It displays information such as Author, Creation Date, and ReplyTo label on the component.
  2. Comment Button: Displays the Reply on the Component.
  3. Text Content: Displays the Content on the Component.
  4. Hidden: You can set the hidden property of the Control.

Appendix. How to configure Comment Component

The screen composed of comments cannot be constructed with Comment Component alone. It should be structured as a screen including input and comments.

  1. The Comment input field is composed of a Textarea Component.
  2. The Data retrieval format for the Comment Component is set to card style.
  3. The Popup screen for entering comments is structured similarly to the Comment input field.