Class TemplatesBean

    • Constructor Detail

      • TemplatesBean

        public TemplatesBean()
    • Method Detail

      • getPreviewFormTheme

        public FormThemeReference getPreviewFormTheme()
        Only for HTML text templates: gets the form theme to use for previewing the selected text template.
        Returns:
        The form theme to use for previewing the selected text template.
      • getTextRteContentsCss

        public String getTextRteContentsCss()
        Creates the CSS URLs for CKEditor's contentsCss option, i.e. the CSS stylesheets that should be included inside the editor's editing area (which is an encapsulated iframe).
        Returns:
        The CSS URLs for CKEditor's contentsCss option.
      • setPreviewFormTheme

        public void setPreviewFormTheme​(FormThemeReference previewFormTheme)
        Only for HTML text templates: sets the form theme to use for previewing the selected text template.
        Parameters:
        previewFormTheme - The form theme to use for previewing the selected text template.
      • getPreviewFormThemeOptions

        public List<javax.faces.model.SelectItem> getPreviewFormThemeOptions()
        Only for HTML text templates: gets the options that can be selected in the form theme dropdown for previewing the selected text template, see getPreviewFormTheme().
        Returns:
        The options that can be selected in the form theme dropdown for previewing the selected text template.
      • getTemplateBodyStyleClass

        public String getTemplateBodyStyleClass()
      • updateModel

        public void updateModel()
      • reset

        public void reset()
      • resetSingle

        public void resetSingle()
      • setTemplatesSheetBean

        public void setTemplatesSheetBean​(TemplatesSheetBean sheetBean)
      • setViewEventBusBean

        public void setViewEventBusBean​(ViewEventBusBean viewEventBusBean)