Dialog Component

A modal dialog interface that provides a flexible, customizable popup container for displaying content. Supports positioning, persistence, header display, and dynamic content loading. Ideal for creating interactive modal windows, alerts, and contextual information displays.


Extends: panelComponent


Fields

Name

Code

Data Type

Description

Label

label

multi-locale

Header text for the dialog

Resource ID

resourceId

text

Unique identifier for the dialog

Style Classes

styleClasses

text

CSS classes applied to the dialog container

Panel Classes

panelClasses

text

Additional CSS classes specific to the dialog styling

Width Class

widthClass

text

Controls the width of the dialog using predefined CSS classes

Inline Style

style

text

Custom inline CSS styles for the dialog

Position

position

text

Specifies the positioning of the dialog on the screen

Show Header

showHeader

boolean

Determines whether the dialog header is displayed

Visibility

isVisible

boolean

Controls the visibility of the dialog

Persistent

persistent

boolean

When true, prevents closing the dialog by clicking outside

Show Close Button

showCloseButton

boolean

Determines whether a close button is displayed in the header


Methods

Name

Description

getLabel

Retrieves the localized label for the dialog header


Events

Name

Description

onLoad

Triggered when the dialog is initially loaded