Appendix : Legacy Presto components : Mashables and Mashups : Mashups in EMML : Writing Mashups in EMML : Supporting Debugging : <display>
<display>
 
<display> Examples
This statement sends a debugging message to the standard output (console and optionally logs) when the mashup script is processed. Messages can contain both static and dynamic content.
See also <display> Examples and Working Samples.
Can Contain
Empty
Allowed In
mashup | catch | else | elseif | for | foreach | if | macro | operation | sequence | try | while
Attributes
Name
Required
Description
message
yes
The static portion of a debugging message for this mashup script.
expr
An optional XPath 2.0 expression to provide a dynamic value as part of a debuggning message for this mashup script. You cannot have both an expression and a variable in a debugging message.
variable
An optional variable to provide a dynamic value as part of a debuggning message for this mashup script. You cannot have both an expression and a variable in a debugging message.
console
An optional flag to control logging for the output for this statement. By default, <display> output is only logged when the logging level for the application server is set to INFO or lower.
When testing from command line utilities or from tool testing views (run mode), output appears in the console after the mashup has run.
Add this attribute with a value of true, to log output from <display> as it is processed when testing from the command line or in testing views (run mode) in tools.
type
no
Type attribute value must be 'stream' or 'document'.
To display EMML stream variables use 'stream' type.
previewcount
yes, when type='stream'
Indicates number of records in stream variable to be displayed.
It must be a positive integer count or 'ALL'.
Copyright © 2013-2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback