Am Freitag, 10. Juni 2005 14:06 schrieb Stephan Richter:
> On Thursday 09 June 2005 12:44, Florian Lindner wrote:
> > I try to use the value of email in a ZPT:
> >
> >       E-Mail: <span tal:replace="++preferences++/UserSettings/email" />
> >
> > or
> >
> >       E-Mail: <span tal:replace="++preferences++UserSettings/email" />
> >
> > both give this traceback:
> >
> > PTRuntimeError: ['Compilation failed', 'zope.tal.taldefs.TALError:
> > Invalid variable name "email" in expression
> > \'++preferences++UserSettings/email\', at line 6, column 15']
> >
> > What is wrong there?
>
> This is not a preferences error, but a pagetemplate one. I have no clue
> what could have gone wrong here. Can you try a different name? Maybe
> something like `email1`? I suspect a clash of variable names.

I've tried email1 and emailX as variable names. Both produce exactly the same 
error.
I got no idea what is wrong there...

Florian
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to