template::util::richtext::get_property (public)

 template::util::richtext::get_property what richtext_list

Defined in packages/acs-templating/tcl/richtext-procs.tcl

Get a property of the richtext datatype. Valid properties are:

Parameters:
what (required)
the name of the property. Must be one of:
  • contents (synonyms content, text) - returns the actual contents of the textarea field
  • format (synonym mime_type) - returns the mimetype, e.g. 'text/plain'
  • html_value - returns the content converted to html format, regardless of the format the content is actually in. In case it is already text/html no conversion will be applied.
richtext_list (required)
a richtext datatype value, usually created with ad_form.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: