Signiant Support

How can I customize the Cancel button in the Java Content Transfer Engine applet? Print


Question

How can I customize the Cancel button label and behaviour within the Content Transfer Engine applet?

Answer

The Cancel button label and action can be controlled by use of paramters to the java applet.  The parameters that need to be set are:
 
cancelLabel
OnCancel

 
For example, if you wish the button to display "Close Window' and have the button action close the window, you would place:
 
<param name="cancelLabel" value="Close Window">
<param name="onCancel" value="window.close();">

 
in the code that launches the applet.
 
See the Content Transfer Engine documentation for more details on the various parameters that can be passed to the applet and their functions.