Embedding smart java scripts in portlets


I want to insert a Date Time Java Script in my Portlet, This script displays a clock using only. java script. How to achieve this?

myWMS 7.0

Sample Script provided below

Thanks in advance

You can use one of these controls to embed custom javascript into the rendered page:

  1. Output > Include Script
  2. Scripts > Custom Script

There should be information on those control types in the Designer help system.

One other option:

  1. Output > Script Block