Richtext control read only mode
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2013 06:17 AM
Is there a way how to use richtext control provided by alfresco in read-only mod?
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2013 06:18 AM
The code below does not work …
<field id="bpm:workflowDescription" label="Instructions" read-only="true">
<control template="/org/alfresco/components/form/controls/richtext.ftl">
<control-param name="style">width: 95%</control-param>
<control-param name="editorAppearance">explorer</control-param>
</control>
</field>
<field id="bpm:workflowDescription" label="Instructions" read-only="true">
<control template="/org/alfresco/components/form/controls/richtext.ftl">
<control-param name="style">width: 95%</control-param>
<control-param name="editorAppearance">explorer</control-param>
</control>
</field>
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2013 06:18 AM
<code ><field id="bpm:workflowDescription" label="Instructions" read-only="true">
<control template="/org/alfresco/components/form/controls/richtext.ftl">
<control-param name="style">width: 95%</control-param>
<control-param name="editorAppearance">explorer</control-param>
</control>
</field>
</code>
<control template="/org/alfresco/components/form/controls/richtext.ftl">
<control-param name="style">width: 95%</control-param>
<control-param name="editorAppearance">explorer</control-param>
</control>
</field>
</code>
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2013 02:37 PM
Hope this will help you.
http://govindaroul.blogspot.in/2013/10/how-to-disable-rich-text-control-in.html
http://govindaroul.blogspot.in/2013/10/how-to-disable-rich-text-control-in.html

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2014 03:02 AM
It is possible to disable the control via share configuration as follows:
It works for me.
<field id="bpm:workflowDescription" label="Instructions"> <control template="/org/alfresco/components/form/controls/richtext.ftl"> <control-param name="style">width: 95%</control-param> <control-param name="editorAppearance">custom</control-param> <control-param name="editorParameters"> theme: "advanced", readonly: 1 </control-param> </control></field>
It works for me.
