Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

(where confirmWithUser is a function you have defined in an external JavaScript file)

Infonote

JavaScript Notes:

  • Do not use return or return true in your inline JavaScript. This has a similar effect to return false in that it stops execution of the LANSA JavaScript but it does not stop the browser from performing its default event handling. This may result in strange and unexpected behavior.
  • The { and } characters have a special meaning in XSLT and cannot be used in a JavaScript property. Doing so will cause strange behavior. If you need to write more complex JavaScript that requires these characters you should create a separate JavaScript function and call it from your property.
  • Previous versions of the documentation advised ending the JavaScript with a double backslash (//) to cancel the default processing. This technique has the same effect as using return and should not be used.