force-invisible:username |
string representing a username |
The webframe will not be visible if the currently logged user username matched the string. Applied before checking the "force-visible:username" attribute. Example: If a user has username that prohibits him of seeing the webframe, it will be applied, no matter that he may have roles that are allowing him to see it. The "force-visible: username" or "force-invisible: username" are executed with priority over the roles, keys and data options. |
force-visible:username |
string representing a username |
The webframe will be visible if the currently logged user username matched the string. Applied after the "force-invisible:username" attribute. The "force-visible: username" or "force-invisible: username" are executed with priority over the roles, keys and data options. |
force-invisible:roles |
comma separated roles list |
The webframe will not be visible for all users that have the listed roles assigned. Applied before checking the "force-visible:roles" attribute. Example: If a user has role that prohibits him of seeing the webframe, it will be applied, no matter that he may have roles that are allowing him to see it.The "force-visible: roles" or "force-invisible: roles" are executed with priority over the keys and data options. |
force-visible:roles |
comma separated roles list |
The webframe will be visible only for users that have the listed roles assigned. Applied after the "force-invisible:roles" attribute. Example: If a user has role that prohibits him of seeing the webframe, it will be applied, no matter that he may have roles that are allowing him to see it.The "force-visible: roles" or "force-invisible: roles" are executed with priority over the keys and data options. |
force-invisible:keys |
comma separated data variable keys list |
The webframe will not be visible, if there are page data variables defined in the listed keys. When there is no "force-invisible:values" attribute defined, the value of the defined keys does not matter, if it is different than empty string. |
force-invisible:values |
comma separated data variable values list |
The webframe will not be visible if there is a data variable with value define in the listed values. When there is "force-invisible:keys" attribute defined, only their values are checked. |
force-visible:keys |
comma separated data variable keys list |
The webframe will be visible only, if there are page data variables defined with the listed keys. When there is no "force-visible:values" attribute defined, the value of the defined keys does not matter, if it is different than empty string. |
force-visible:values |
comma separated data variable values list |
The webframe will be visible only if there is a data variable with value define in the listed values. When there is "force-invisible:keys" attribute defined, only their values are checked. |
force-visible: smartbrowse |
true or false |
If true, the webframe will be presented only while the smartbrowse mode is ON. If false the attribute will not be applied at all. |
force-invisible: smartbrowse |
true or false |
If true, the webframe will NOT be presented while the smartbrowse mode is ON. If false the attribute will not be applied at all. |
manage:restriction |
true or fase |
If true, the Manager role users will not be able to see the "Manage" link in the smartbrowse right click context menu. If false, the attribute will not be applied. |
cache:duration |
integer in seconds |
How much seconds the webframe should cache its content and reuse it without updating it. The cache is based on pages and whether it is applied for any user or only not registered (guests). Default value is 0 (cache disabled). |
cache:users |
|
If "all" value is set, all the users will see the same webframe content. If "guests" value is set, all the users will see the same webframe content. Should not be used if you need user specific content. Default value is "guests". |
cache:expiration |
|
If "absolute" value is set, the cache will expire on each "cache-duration" period and will be updated. If "sliding" value is set, the cache will expire only if the webframe is not visited within the "cache-duration" period. If the webframe is visited, new "cache-duration" period will be added, without expiring or updating the cache. As example if sliding timescale of 60 minutes is set and someone browses to the webframe page every 55 minutes, the cache will never be expired. Default value is "absolute". |
cache:scope |
- webframe-data
- webframe-html
- url-data (default)
- node-url-html
- full-url-html
|
The cache attributes determines the data type and scope of the cached object, as follows:
- webframe-data - the cached object for the webframe will be the same on all pages and will contain only values set in the internal webframes business logic (if any)
- webframe-html - the cached object for the webframe will be the same on all pages and will contain the rendered html of the webframe, no matter the business logic.
- url-data - the cached object for the webframe will be different for each page and will contain only values set in the internal webframes business logic (if any).
- node-url-html - the cached object for the webframe will be different for each page, without considering the possible query parameters in the url, and will contain the rendered html of the webframe, no matter the business logic.
- node-url-html - the cached object for the webframe will be different for each URL, including the possible query parameters in the url, and will contain the rendered html of the webframe, no matter the business logic. (eg. the same page / node url but with different query parameters are considered as different URLs)
|