[Zope] MessageDialog

Andy McKay AndyM@ActiveState.com
Tue, 11 Jul 2000 10:57:26 -0700


A thanks Chris. I had noticed that and was trying to see if I could do
without using REQUEST. I couldnt so I went and changed all the calls to my
class *sigh*. Thanks mate.

----- Original Message -----
From: "Chris Withers" <chrisw@nipltd.com>
To: "Andy McKay" <AndyM@activestate.com>
Cc: <zope@zope.org>
Sent: Tuesday, July 11, 2000 1:27 AM
Subject: Re: [Zope] MessageDialog


> Andy McKay wrote:
> > The MessageDialog is cool, but a little sparse, has anyone tried
overriding
> > it with their own or fiddling with it? Im looking at including standard
> > header and footer in it and not gotten very far.
>
> Butch did this in Squishdot, one of the changes I made for 0.4.1 was to
> let headers adn footers be included, here's the code from Squishdot.py:
>
> return self.showError(self, REQUEST=REQUEST,
>                       ^^^^^^^^^^^^^^^^^^^^^
>                        important bits
>                       title='Data Missing',
>                       message=message,
>                       action=REQUEST['URL1']+'/previewPosting'
>                       )
>
> showError is a DTML method contained in the Squishdot folderish
> object...
>
> HTH,
>
> Chris
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>