InlineHTMLWidgetBase (open)
Syntax
LOADLIB "mod::publisher/lib/widgets/htmlwidget.whlib";
OBJECTTYPE InlineHTMLWidgetBase
Constructor
- MACRO NEW() (inherited from WidgetBase)
Initializes widget properties
Properties
- PROPERTY context (inherited from WidgetBase)
preview/webdesign context
- PROPERTY data (inherited from WidgetBase)
Data loaded into the object
- PROPERTY mergefields (inherited from WidgetBase)
Merge fields context (only available within mail RTD's for form handlers and form thank you page richtext RTD's)
- PROPERTY rtdtype (inherited from WidgetBase)
RTDType containing us
- PROPERTY whfsfileid (inherited from WidgetBase)
whfs id, if known
- PROPERTY whfssettingid (inherited from WidgetBase)
whfs setting id, if known
- PROPERTY widgettype (inherited from WidgetBase)
My type
Functions
- MACRO EmbedComponent(RECORD data, RECORD options) (inherited from WidgetBase)
Run this widget's wittycomponent (as specified in siteprofile) with this data
- MACRO PTR FUNCTION GetRTDBody(RECORD richdoc, RECORD options) (inherited from WidgetBase)
Return a renderer for a RTD from an instance record
- STRING FUNCTION GetWidgetType() (inherited from WidgetBase)
Get widget type as used in the preview
- OBJECT FUNCTION OpenRTD(RECORD richdoc, RECORD options) (inherited from WidgetBase)
Open RTD data using an rtdtype
- MACRO Render()
- MACRO RenderEmail(OBJECT mailcomposer)
- MACRO RenderFieldSetPreview(RECORD ARRAY blocks, RECORD options) (inherited from WidgetBase)
Renders a preview with blocks of fieldssets, separated by a divider
- MACRO RenderImagesPreview(RECORD ARRAY images, STRING title, STRING description, RECORD options) (inherited from WidgetBase)
Renders a preview with images and a title/description box
- MACRO RenderInlinePreview(RECORD options) (inherited from WidgetBase)
Renders a preview of an inline widget
- MACRO RenderLive()
- MACRO RenderMultiColumnPreview(FUNCTION PTR ARRAY columns, RECORD options) (inherited from WidgetBase)
Renders a preview of a multi-column layout
- MACRO RenderSearchPreview() (inherited from WidgetBase)
Function invoked when the widget should be rendered for a RTD Search preview. By default the normal preview is used
- MACRO RenderSharedBlock(RECORD sharedblock) (inherited from WidgetBase)
Render a block from GetSharedBlocks/ResolveLocalSharedBlocks as a widget
- MACRO RenderTitleDescriptionPreview(STRING title, STRING description, RECORD options) (inherited from WidgetBase)
Renders a preview with a title and a description
- MACRO RenderWidgetInstance(RECORD widgetdata, RECORD options) (inherited from WidgetBase)
Render a widget directly