MashZone NextGen 10.2 | Appendix | Legacy Presto components | Mashables and Mashups | Mashups in EMML | Writing Mashups in EMML | Declaring Mashup and Macro Variables and Parameters | Valid Names for Variables and Parameters
 
Valid Names for Variables and Parameters
Variable and parameter names must follow these rules to be valid:
*They cannot use the following reserved names:
*fault
*faultcode
*faultexception
*faultmessage
These reserved names are used for mashable invocation error handling.
*Any JavaScript, Java or XML reserved keyword. For example:
*document is invalid as this is a reserved keyword in JavaScript.
*xml is invalid because it is reserved in XML.
*this is invalid because it is commonly used in both Java and JavaScript.
*They can use these reserved names if they refer to MashZone NextGen attributes:
*user
*session
*global or system
For examples and more information, see Using MashZone NextGen Attributes in Mashups.
*They can use the reserved name httpResponse.header-name to define standard or custom HTTP headers for the mashup result. For custom HTTP headers, header-name must begin with x-.
*They must be unique within the scope that they are declared in. However, local variables can use the same name as global variables. See Valid Names for Variables and Parameters for more information.
*They must start with an ASCII letter.
*They can contain ASCII letters, numbers, dashes (-) or underscores (_). Do not use any other symbols or punctuation.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release