建立子註解元件

這些方向將​ 群組 ​設定為.hidden,因為只有父元件應包含在頁面中。

刪除自動建立的JSP檔案是因為會改用預設的HBS檔案。

  1. 導覽至/apps/custom/components/comments節點

  2. 以滑鼠右鍵按一下節點

    • 選取​ 建立 > 元件……

      • 標籤註解
      • 標題替代註解
      • 描述替代註解樣式
      • 超級型別social/commons/components/hbs/comments/comment
      • 群組*.hidden*
    • 選取​ 下一步

    • 選取​ 下一步

    • 選取​ 下一步

    • 選取​ 確定

  3. 展開已建立的節點: /apps/custom/components/comments/comment

  4. 選取​ 全部儲存

  5. 用滑鼠右鍵按一下comment.jsp

  6. 選取​ 刪除

  7. 選取​ 全部儲存

create-child-component

create-component-crxde

複製及修改預設HBS指令碼

使用CRXDE Lite