Project

General

Profile

Actions

Bug #23564

closed

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

Added by Oliver Hader over 13 years ago. Updated almost 13 years ago.

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

0%

Estimated time:
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)


Files

0015745.patch (4.84 KB) 0015745.patch Administrator Admin, 2010-09-18 17:07
0015745v2.patch (5.34 KB) 0015745v2.patch Administrator Admin, 2010-09-21 19:18
Actions #1

Updated by Steffen Kamper over 13 years ago

committed to trunk rev 8930

Actions #2

Updated by Susanne Moog almost 13 years ago

  • Target version deleted (4.5.0)
Actions

Also available in: Atom PDF