# HG changeset patch # User paulb # Date 1131996819 0 # Node ID a84e3b78b606b5ddfe3c2370857aeef9cb823f6f # Parent 6f7ef4363ea96cb08c815ea2634d9edefee24efb [project @ 2005-11-14 19:33:39 by paulb] Changed "XSLT/template" to "template extension" in the context of functions in stylesheets. Added an advanced template design document which describes the relationship between templates and XSLT. diff -r 6f7ef4363ea9 -r a84e3b78b606 docs/JavaScript-reference.html --- a/docs/JavaScript-reference.html Fri Nov 11 17:14:22 2005 +0000 +++ b/docs/JavaScript-reference.html Mon Nov 14 19:33:39 2005 +0000 @@ -5,4 +5,4 @@
The following JavaScript functions are available for the triggering of in-page updates:
Parameters:
url
'platforms'The above example causes an update to be sent to the location
platforms
relative to the current page.sourceAreasStr
'/package$1/platforms$1'Typically, one would use an XSLT/template function to provide such information. For example:
'{template:other-elements(..)}'Selector fields may be specified in addition to regions:
'{template:selector-name('remove_platform', .)}'The above example causes the
remove_platform
selector field to be included in the update.targetName
id
attribute) within which the outcome of the update shall appear.targetAreasStr
sourceAreasStr
parameter for more details.elementPath
Parameters:
url
url
parameter for the requestUpdateArea
function for more details.fieldNamesStr
'/package$1/name'Typically, one would use an XSLT/template function to provide such information. For example:
'{template:other-attributes('name', .)}'The above example causes the field associated with the
name
attribute on the current element to be included in the update.targetName
id
attribute) within which the outcome of the update shall appear.targetFieldNamesStr
fieldNamesStr
parameter for more details.elementPath