Properties of Transactional Snippets
Available properties for TransactionalFragment
components are shown in the following table.
Property Name | Property Type | Default Value | Description |
---|
displayName
| String
| null
| The display name of the transactional snippet. Can be localized. |
description
| String
| null
| The description for the transactional snippet. Can be localized. |
interactive
| Boolean
| true
| If true , the snippet renders inside an IFRAME so that interactions (such as form submits) do not affect the rest of the application. If false , the snippet is not rendered inside an IFRAME but is displayed inline; you must ensure that the rendering of the fragment does not adversely affect the overall rendering of the solution. |
height
| int
| 200
| When interactive is true , defines the fixed height (in pixels) of the snippet’s IFRAME, with scrollbars if content exceeds the height . |
selectable
| Boolean
| true
| If true , the snippet’s name appears in the dropdown list of possible snippets when the author is editing a transactional snippet field on a solution. If false , the snippet’s name does not appear in the dropdown list, but it is not removed from the system, and existing solutions that use the snippet will continue to render it. |
servletContext
| String
| | Relative path to the context root of the Web application’s URI where the snippet’s JSP file is stored; for example, /extensions . |
url
| String
| null
| Relative URL to locate the snippet within its Web application; the URL is relative to the servletContext URL. For example, if the snippet’s JSP file is in /web-app/extensions/tf/mysnippet/ snippet.jsp , the url should be /extensions/tf/mysnippet . |
parameters
| String[]
| null
| A list of parameters, by name and defined in the repository, to add to the URL as request parameters for the snippet. |
resourceBundle
| String
| atg.svc. fragment. Transactional FragmentResources
| The resource bundle to use to look up the displayName, description, parameter label, and parameter list value displayName. |