SBM AppScript Reference → Programming SBM AppScript → Extension Functions → Ext.WriteStream( str )
Writes the string str to the current output stream. The only type of output stream available for writing HTML is an HTTP stream. The output stream only exists when a browser connection is open. An error occurs if this function is otherwise called. For example, if a user has executed a transition in a browser, then an output stream exists for the Pre-Transition script. However, if an external program initiates a transition using the SBM API, there is no browser connection and thus no output stream. For details, refer to Ext.OutputStreamExists().
Str should always be a valid HTML fragment.
Returns a Boolean value indicating whether the write operation succeeded.
Copyright © 2007–2018 Serena Software, Inc., a Micro Focus company. All rights reserved.