wwModalDialog.showDialog

Displays the dialog and overlay. Content is displayed in the element specified by contentId of the class the title in headerId. If these elements are not available content is written into the top level control.

static wwModalDialog.showDialog(Message,Title)

Return Value

Instance of a wwModalDialog class

Parameters

Message
The content message to display. Displayed in the contentId element. If no contentId was specified the text is filled into the top level control.

Text is considered to be HTML. Use Text.htmlEncode() to ensure proper text formatting if you're providing pure text.

Title
The header text displayed if a headerId is provided. Text is considered to be HTML. Use Text.htmlEncode() to ensure text formatting.

See also:

Class wwModalDialog


  Last Updated: 1/21/2007 | © West Wind Technologies, 2008