Hi ,
here I am sharing my experience on topic " Procedure to enable Text editor for text field in ATG10.0.2 Merchandising" flex view.
Pic:1
Example:observe the above image pic:1, by default in merchandising flex view it will provide small text box with out scroll bar or text editor to deal with text .
repository def -1:
<item-descriptor name="xx" display-name="yy" display-property="zzz">
<table name="content" type="primary" id-column-name="id">
...
<property name="htmlContent" column-name="content" data-type="String" display-name-resource="HTML Content" />
...
</table>
</item-descriptor>
Pic:2
About Editor in ATG:
If your application is configured to support FCKeditor, you can use HTML to format large text properties by applying styles in a WYSIWYG design view or by coding HTML markup in source view. The property value is then stored as an HTML fragment that can be included in a page on your Web site.By default, the properties that can be formatted with HTML include the Long Description property.
To enable text editor for the text box provided by atg . we no need to bother about customization/configuration those thing already done by ATG people.observe above pic:2.
Procedure :
To get editor for the text box you have to change data type of property to "big string" in repository definition file.
repository def-2;
<item-descriptor name="xx" display-name="yy" display-property="zzz">
<table name="content" type="primary" id-column-name="id">
...
<property name="htmlContent" column-name="content" data-type="big string" display-name-resource="HTML Content" />
...
</table>
</item-descriptor>