[ZPT] some dtml to zope problems aka loginmanager&zpt

Klinger Wolfgang wolfgang@wazum.com
Fri, 30 Nov 2001 07:16:58 +0100


hiya!

what do you mean?
that I use a dtml-document using
dtml-raise 'LoginRequired'
and then calling the Template
like the following or what?

file: loginForm

<dtml-raise "'LoginRequired'">
<dtml-var LoginTemplate>
</dtml-raise>


??
doesn't work

error message:

  Error Type: LoginRequired
  Error Value: Invalid Error Value

hmmm?

Wolfgang

>Klinger Wolfgang wrote:

>> I wonder if and how this works with ZPT:
>> 
>>   <dtml-raise "'LoginRequired'">

>
>You would need to call a Script containing "raise 'LoginRequired'", since 
>Page Templates have no machinery for this.

>> is it possible to use a template
>> for the login page?

>Probably.