Designer 10.5 | webMethods CAF and OpenUI Development | User Interface Controls Concepts | Client-Side Libraries | Strings
 
Strings
Composite applications often use comma-separated value (CSV) strings to serialize lists for transfer between server and client.
The Composite Application Framework library extends the core JavaScript String object with extra methods:
*The formatMessage(params) method constructs a parameterized message similar to the java.text.MessageFormat class.
*The escapeJS() method ends the use of JavaScript blocks within programmatically generated HTML fragments.
*The escapeRegExp() ends the JavaScript for use by new RegExp() method.
*The trim() method deletes the leading and trailing white space.