Salesforce B2C Commerce 23.6 > B2C Commerce API > B2C Commerce Script > dw.web
dw.web
Class URLParameter
Object
dw.web.URLParameter
This class represents a key-value-pair for URL parameters.
Constructor Summary
URLParameter(aName : String, aValue : String)
Constructs the parameter using the specified name and value and endocded in the form "name=value".
URLParameter(aName : String, aValue : String, encodeName : boolean)
Constructs the parameter using the specified name and value.
Method Summary
Methods inherited from class Object
Constructor Detail
URLParameter
public URLParameter(aName : String, aValue : String)
Constructs the parameter using the specified name and value and endocded in the form "name=value".
Parameters:
aName - the name
aValue - the value

URLParameter
public URLParameter(aName : String, aValue : String, encodeName : boolean)
Constructs the parameter using the specified name and value. If the "encodeName" is set to true, the parameter is encoded in the form "name=value". Otherwise, it only contains the "value" (needed for URL patterns).
Parameters:
aName - the name
aValue - the value
encodeName - if true, the name will be part of the string form

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.