[Zope] MessageDialog

Gerard Mulot vanisoft@wanadoo.fr
Thu, 21 Oct 1999 13:26:38 +0200


here an example


<dtml-call
"REQUEST.set('user_name',REQUEST.get('AUTHENTICATED_USER').name)">
<dtml-call "REQUEST.set('retour','description_html')">
    <dtml-with sql>
      <dtml-call "REQUEST.set('cli_id',CLIENT_id)">
      <dtml-in Sol_Select_unClient>
        <dtml-if "_.string.strip(CLIENT_pwd) ==
_.string.strip(CLIENT_PASSWORD)">
          <dtml-var manageCLIENT>
        <dtml-else>
          <dtml-call
"REQUEST.set('m','messageDialog?title=Password&message=Password_invalide&act
ion=./description_html')">
          <dtml-call "REQUEST.set('retour',m)">
        </dtml-if>
      </dtml-in>
    </dtml-with>
    <dtml-call "RESPONSE.redirect(retour)">

Regards
Gerard Mulot
email : vanisoft@wanadoo.fr

----- Original Message -----
From: Itamar Shtull-Trauring <itamars@ibm.net>
To: <zope@zope.org>
Sent: Thursday, October 21, 1999 12:52 PM
Subject: [Zope] MessageDialog


> Is there any way to create a MessageDialog from inside DTML?
>
> I'm doing some <dtml-calls> in a DTML method, and when they're finished
I'd
> like to bring up a MessageDialog, instead of printing out a HTML page
> manually.
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (Related lists - please, no cross posts or HTML encoding!
>
> To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
>
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>