If you want to configure the behavior of an aggregator at runtime, you can pass additional meta data values to the aggregator.
All page metadata with names that start with asa_js is an attribute of the global Javascript object called ibm_page_metadata. This object is only defined if at least one page metadata exists the key of which starts with asa_js .
If the value starts with an equals sign ( = ), the value is interpreted as a JavaScript snippet. This evaluation starts with the first character after the equals sign.
<script language='JavaScript'>
var ibm_page_metadata = {
'foo' : 'foo' + 'bar' }
</script>
The aggregator can then access the metadata
by either of the as following ways: <code>ibm_page_metadata['foo']</code> or <code>ibm_page_metadata.foo</code> .
It will evaluate to foobar . The value part of page metadata is evaluated at runtime in the client browser.
All other values are treated as JavaScript strings. No further escape mechanism is applied.
<script language='JavaScript'>
var ibm_page_metadata = {
'bar' : 'foo' }
</script>
The aggregator can then access the meta data
by either of the as following ways: <code>ibm_page_metadata['bar']</code> or <code>ibm_page_metadata.bar</code> .