[Zope] MessageDialog

Robin Becker robin@jessikat.demon.co.uk
Thu, 21 Oct 1999 15:11:13 +0100


In article <005001bf1bb7$253e7ac0$fc9b6c8a@p0829>, Gerard Mulot <vanisoft@wanadoo.fr>
writes
I cannot get the example to work even when I cut it to
<dtml-call "REQUEST.set('m','messageDialog?title=Password&message=Password+invalid')">
<dtml-call "REQUEST.set('retour',m)">
<dtml-call "RESPONSE.redirect(retour)">


I get an error saying messageDialog is an unknown resource.
>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 )
>>
>
>
>_______________________________________________
>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 )

-- 
Robin Becker