Table of Contents

Module: Dialogs Zope-2.2.1-src/lib/python/App/Dialogs.py

Common HTML dialog boxes

MessageDialog(title, message, action, [target])

A very simple dialog used to display an HTML page titled title, displaying message message and an OK button. Clicking the OK button will take the browser to the URL specified in action. The optional target argument can be used to force a (frames capable) browser to load the URL specified in action into a specific frame. (Specifying _new will cause the browser to load the specified URL into a new window, for example).

example usage:

    return MessageDialog(title='Just thought you should know...',
                         message='You have wiped out your data.',
                         action='/paid_tech_support/prices.html',
                         target='_top')
    

Imported modules   
from Globals import HTML

Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6