Class idx.widget.Dialog


Extends dijit.Dialog.
idx.widget.Dialog enhanced dijit.Dialog with specified structure following IBM One UI standard Dialog Box
Defined in: <idx\widget\Dialog.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 
Creates a new idx.widget.Dialog

Field Summary

Field Attributes Field Name and Description
 
Action buttons for Dialog in the action bar
 
Label on Dialog close button
 
Dialog content
 
Dialog instruction, just below the title
 
Referance link of Dialog, reference.name for link name, and reference.link for link url
 
title 
Dialog title

Method Summary

Method Attributes Method Name and Description
 
hide()
 
onReference(event)
Callback of reference click, overriden by user
 
 

Constructor Detail

idx.widget.Dialog()

Creates a new idx.widget.Dialog
var dialog = new idx.widget.Dialog({
			id: "dialog",
			title: "Dialog Title",
			instruction: "Instructional information goes here.",
			content: "<div style='height:80px'>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</div>",
			reference: {
				name: "Link goes here",
				link: "http://dojotoolkit.org/"
			},
			closeButtonLabel: "Cancel"
		}, "div");

Field Detail

{Array [dijit.form.Button]} buttons

Action buttons for Dialog in the action bar

{String} closeButtonLabel

Label on Dialog close button

{String | dijit.layout.TabContainer} content

Dialog content

{String} instruction

Dialog instruction, just below the title

{Object} reference

Referance link of Dialog, reference.name for link name, and reference.link for link url

{String} title

Dialog title

Method Detail

hide()


onReference(event)

Callback of reference click, overriden by user
Parameters:
event

postCreate()


startup()