9 FSI Pages Add-on
269
NeptuneLabs - FSI Viewer
For "mailto:" URLs the target frame is always "_self", except the XML <area> node
specifies a different target.
9.18 Modifying Link Values at Runtime
In some cases it might be necessary to replace parts of link URL values for links on
the pages – for example when using session variables or if you use the same catalog
in HTTP and HTTPS environments. Runtime link template replacement applies to
links on pages as well as for "SaveURL" values used to specify external document
related to a page.
You can replace any part of these URLs using the FSI Pages parameters
LinkTemplates and → LinkTemplateData.
Use the FSI Pages parameter "LinkTemplateData" to specify a comma separated
list of values you want FSI Pages to replace the keywords with. Usually you will
provide the LinkTemplateData value by appending the parameter to theFSI Viewer
query using server side script.
When specifying multiple LinkTemplates, the number and sequence of the
corresponding LinkTemplateData values must match to achieve correct
replacement.
For example replacing the templates "[SESSION]" and "[DATE]" at runtime in all link
URLs can be done like this:
Replacing parts of link URLs at runtime
Configuration:
...
<Plugins>
...
<Plugin src="pages" >
<LinkTemplates value="[SESSION],[DATE]" />
</Plugin>
...
</Plugins>
...
FSI URL
.../fsi.swf?LinkTemplateData=somesession,01.01.2010
This will replace all instances of "[SESSION]" by "somesession" and all instances of
"[DATE]" by "01.01.2010" in all link URLs.