Siebel Developer's Reference > Siebel Web Engine Tags > Program Logic Tags >

JavaScript Tag


The scripts tag specifies where to place any JavaScript that SWE creates for the page. It uses the following format:

<swe:scripts/>

This tag does not include any attributes.

Note the following:

  • SWE includes some JavaScript code in every page that it sends to the browser. This code must occur after all the Siebel content that the page contains, and it must reside in the HTML body tag.
  • The scripts tag must be the last Siebel SWE tag that the template contains, and it must reside in the HTML body tag.
  • SWE determines the correct placement of this tag, repositions it, if necessary, and removes any scripts tags that it does not require.
  • If you do not specify the scripts tag, then SWE places the JavaScript code immediately after the last tag that the page contains, by default. In some situations, this configuration might occur in an HTML formatting tag that is similar to td ... /td. This configuration might cause a minor formatting problem when the browser displays the page.
Siebel Developer's Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.