|
|
Smartlet html output wrapper macro. Outputs a DIV outer element, or wraps the output in a fully stylable glossy box using the createsmartletbox() translation.
Syntax
| Smartsite SXML |
|
|---|---|
<se:smartletbox> </se:smartletbox> |
|
Parameters
| Name | Data Type | Properties | Description |
|---|---|---|---|
| Attribs | String | - | Custom attributes to include in the outer div. |
| BoxFormat | String |
RawData
|
Sets the box result format. By default, the createsmartletbox() translation will be called. |
| BoxMode | String | - | Visual styling of the box. Only predefined value is 'none' for a non-visible container. |
| BoxSkin | String | - | Skin type of the box. |
| Buttons | String | - | Sets the button HTML, rendered in the title bar of the box. |
| Caption | String | - | Sets the caption, rendered in the title bar of the box. |
| ExtraElements | String | - | Extra Elements to include in the box output. Except for BoxMove="none", these elements should always be invisible. |
| FormAttribs | String | - | When non-empty, a form tag will be emitted using the given attributes. |
| Height | String | - | Height style property for the box. Will be applied to the inner div of the box. |
| Inner | String |
RawData
IsRequired |
Sets the inner Xml of the SmartletBox module. |
| InnerClass | String | - | Additional class(es) to apply to the inner div of the box. |
| OuterClass | String | - | Additional class(es) to apply to the outer div of the box. |
| OuterId | String | - | Id of the outer div of the box. |
| Render | Boolean | - | Set to false to suppress macro output. Useful in ajax callback scenarios where the box should not be rendered. Setting this value to false will trigger the default handling. |
| Width | String | - | Width style property of the box. Will be applied to the outer div of the box. |
Shared Parameters
Local Viper Methods
| Viper | Extension | Description |
|---|---|---|
| This.ApplyBoxFormat | Invokes the box formatting translation. By default this is the translation 'createsmartletbox'. | |
| This.Attribs | Custom attributes to include in the outer div. | |
| This.BoxData | Data to be rendered inside the box. | |
| This.BoxMode | Visual styling of the box. Only predefined value is 'none' for a non-visible container. | |
| This.BoxSkin | Skin type of the box. | |
| This.Buttons | Gets the button HTML, rendered in the title bar of the box. | |
| This.Caption | Gets the caption, rendered in the title bar of the box. | |
| This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
| This.ExtraElements | Extra Elements to include in the box output. Except for BoxMove="none", these elements should always be invisible. | |
| This.FormAttribs | When non-empty, a form tag will be emitted using the given attributes. | |
| This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
| This.Height | Height style property for the box. Will be applied to the inner div of the box. | |
| This.InnerClass | Additional class(es) to apply to the inner div of the box. | |
| This.OuterClass | Additional class(es) to apply to the outer div of the box. | |
| This.OuterId | Id of the outer div of the box. | |
| This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
| This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
| This.UseBox | Indicates whether a visible box, including caption and button strip, is used. | |
| This.Width | Width style property of the box. Will be applied to the outer div of the box. |