Bug #23564

Integrate generic notification methods to show windows and dialogs based on ExtJS

Added by Oliver Hader about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-09-18
Due date:
% Done:

0%

TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

There are already some places where ExtJS is used to display modal windows and there will be some more in the future (e.g. as a result from the workspaces team sprint in Wiesbaden).

Thus, two new static functions are defined and placed in backend.php.

TYPO3.Window
TYPO3.Dialog

Thus, every application can use windows and dialogs like e.g.
top.TYPO3.Window.getWindow({
title: 'Title',
html: 'Message',
id: 'cssId',
identifier: 'individualIdentifier',
});

and select it by the given identifier again, like e.g.
top.TYPO3.Window.getActiveWindow('individualIdentifier').close();

Dialogs can be shown for "information", "question", "error" and "warning" with e.g.
top.TYPO3.Window.getInformationDialog({
title: 'Title',
msg: 'Message'
});

(issue imported from #M15745)

0015745.patch View (4.84 KB) Administrator Admin, 2010-09-18 17:07

0015745v2.patch View (5.34 KB) Administrator Admin, 2010-09-21 19:18

History

#1 Updated by Steffen Kamper about 9 years ago

committed to trunk rev 8930

#2 Updated by Susanne Moog over 8 years ago

  • Target version deleted (4.5.0)

Also available in: Atom PDF