Smartsite Client Framework macro. Used to fire up the Javascript client library.
Syntax
Smartsite SXML | Copy Code |
---|---|
<se:scf /> |
Parameters
Name | Data Type | Properties | Description |
---|---|---|---|
CssLocation | Locator | - | Sets the location for standard Scf-included styles. Default: MERGE_SCF_BEHAVIOR_CSS. |
IncludeMandatoryPlaceholders | Boolean | - | Sets a value indicating the mandatory placeholders must be included, so that a call to Scf suffices. |
JavascriptLocation | Locator | - | Sets the location for standard Scf-included scripts. Default: MERGE_SCF_BEHAVIOR_JS. |
jQueryLocation | Locator | - | Sets the jQuery library location. |
jQueryNoConflict | Boolean | - | Sets a value indicating whether to use jQuery noConflict (the '$' variable is used by another library). |
jQueryVar | String | - | Sets the jQuery variable currently used. Defaults to '$j'. |
OnLoadHandler | String | - | Sets the Javascript Load handler to call on DOM ready. Default: onLoad. |
Settings | Collection |
Default
|
Sets the settings to be passed to the Scf startup. |
StartupMode | Enum | - |
Sets the startup mode.
Enum values:
|
Shared Parameters
Local Viper Methods
Viper | Extension | Description |
---|---|---|
This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
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. |