| Add JavaScript code to send to the client as return of this request.
If this request is a document load request, the code is added to the JavaScript
initialization code, otherwise is a AJAX based request and the code is added to the
JavaScript event response.
Use this method exceptionally if you need to send custom code in this circumstance
otherwise use
ItsNatDocument.addCodeToSend(Object)
Parameters: code - the code to send, Object.toString() is called to convert to string. See Also: org.itsnat.core.script.ScriptUtil |