Parameters included in the HTML code that displays a viewlet are nested inside the <APPLET> tags and have the following syntax:

<param name=”name” value=”value”>

In the following example, the com.smarts.context.collectionEntity parameter is set to true to enable context listening for a Notification Log viewlet.

<APPLET TYPE="applet"
 CODE="com.smarts.webapps.SmWebNotificationsApp.class"
 WIDTH=”100%” HEIGHT=”100%”
 ARCHIVE="masterpiece.jar,jcommon-0.7.0.jar,\
 jfreechart-0.9.3.jar,tsgdtj50.jar,tsgetj50.jar,\
 tsglt50.jar,tsgltc50.jar,tsgmtj50.jar">
 <PARAM NAME="com.smarts.context.collectionEntity"\
VALUE="true">
</APPLET>