PATH Documentation > WebObjects

Table of Contents

JSAlertPanel



Component Description

This component appears as a hyperlink, which can contain an image, text, and the JSAlertPanel's component content. When the user clicks on it, a dialog box displaying an alert message appears. When the user clicks OK, the hyperlink is executed.


Synopsis

JSAlertPanel { action=anAction; | javaScriptFunction=javaScriptCodeString; | pageName=aPageName; alertMessage=message; [altTag=aTag;] [filename=imageFileName;] [targetWindow=windowName;] [string=aString;] };

Bindings

action
The action method performed when the user clicks OK.
javaScriptFunction
Java Script code executed when the user clicks OK.
pageName
The page displayed when the user clicks OK.
alertMessage
The message to display when the user clicks on the hyperlink.
altTag
The HTML alt attribute for the hyperlink's image if an image is specified. Browsers can display this attribute in place of the image.
filename
The name of the image file. Binding this causes the hyperlink to contain an image.
targetWindow
The name of the window in which the page is displayed when the user clicks OK.
string
A string displayed in the hyperlink.

Table of Contents