Example usage for com.liferay.portal.kernel.editor.configuration EditorOptions getDynamicAttributes

List of usage examples for com.liferay.portal.kernel.editor.configuration EditorOptions getDynamicAttributes

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.editor.configuration EditorOptions getDynamicAttributes.

Prototype

public Map<String, Object> getDynamicAttributes() 

Source Link

Usage

From source file:com.liferay.frontend.editor.alloyeditor.web.editor.configuration.AlloyEditorCreoleOptionsContributor.java

License:Open Source License

@Override
public void populateEditorOptions(EditorOptions editorOptions, Map<String, Object> inputEditorTaglibAttributes,
        ThemeDisplay themeDisplay, RequestBackedPortletURLFactory requestBackedPortletURLFactory) {

    Map<String, Object> dynamicAttributes = editorOptions.getDynamicAttributes();

    dynamicAttributes.put("useCustomDataProcessor", Boolean.TRUE);
}

From source file:com.liferay.frontend.editor.ckeditor.web.editor.configuration.CKEditorOptionsContributor.java

License:Open Source License

@Override
public void populateEditorOptions(EditorOptions editorOptions, Map<String, Object> inputEditorTaglibAttributes,
        ThemeDisplay themeDisplay, RequestBackedPortletURLFactory requestBackedPortletURLFactory) {

    Map<String, Object> dynamicAttributes = editorOptions.getDynamicAttributes();

    dynamicAttributes.put("useCustomDataProcessor", Boolean.FALSE);
}