[TYPO3-core] RFC: Feature #15745: Integrate generic notification methods to show windows and dialogs based on ExtJS

Steffen Ritter info at rs-websystems.de
Sat Sep 18 17:37:49 CEST 2010


Am 18.09.2010 17:09, schrieb Oliver Hader:
> This is an SVN patch request.
>
> Type: Feature
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=15745
>
> Branches: Trunk
>
> Problem:
> 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).
>
> Solution:
> Thus, two new static functions are defined and placed in backend.php.
>
> TYPO3.Window
> TYPO3.Dialog
>
> 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'
> });
>
> olly
+1 reading and testing (des is a traum)


More information about the TYPO3-team-core mailing list