Class RichTextEditorProfileMethod

java.lang.Object
fr.paris.lutece.portal.service.editor.RichTextEditorProfileMethod
All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel

public class RichTextEditorProfileMethod extends Object implements freemarker.template.TemplateMethodModelEx
Template function richTextEditorProfile( [plugin] ): the editor of the back office and its profile for the rendered template and the connected user, as a hash { plugin, name, editor, config }. editor is the name of the editor of the back office, name and config the ones of its profile (config is {} when the editor has no profile). Without argument, the plugin is the one of the rendered template, or of the requested JSP when the template belongs to the core.
  • Constructor Details

    • RichTextEditorProfileMethod

      public RichTextEditorProfileMethod()
  • Method Details

    • exec

      public Object exec(List arguments) throws freemarker.template.TemplateModelException
      Specified by:
      exec in interface freemarker.template.TemplateMethodModel
      Specified by:
      exec in interface freemarker.template.TemplateMethodModelEx
      Throws:
      freemarker.template.TemplateModelException