Whitebeam Template Reference Documentation

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Template Reference Documentation

System Template

attributes()

Access the XML attributes for the tag currently being evaluted.

Syntax

MetaData Object = rb.page.attributes()

Parameters

The 'attributes' method takes no parameters

Results

The 'attributes' method returns a JavaScript object containing arbitrary attributes (Meta Value):

Type/Value Range/Length Description
MetaData  This method returns a JavaScript object containing a field for each of the XML attributes in the tag being executed.

Remarks

The method is primarily useful in the implementation of a Whitebeam <rb:macrotoag...> tag. Used in this scenario it allows a presentation page to pass parameters to a macro tag written by a template provider (generally in an included library file).

Whitebeam release 1.3.36
(loadtime : 109ms)