Re: [Zope] Newbie: Missing a Variable (TAL/METAL Question)

2006-07-28 Thread beno -
I have done as you say and get this error:   KeyError: '$var'   Here are the code lines I added into the table:   authorcontent TIA, BenDieter Maurer <[EMAIL PROTECTED]> wrote: beno - wrote at 2006-7-26 15:04 -0700:> ...> that works fine. But I'd like to call the following in that table:>

Re: [Zope] Newbie: Missing a Variable (TAL/METAL Question)

2006-07-28 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28 Jul 2006, at 09:45, beno - wrote: I have done as you say and get this error: KeyError: '$var' Dieter said "?var", not "$var"... jens -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEyhVLRAx5nvEhZLIRArVjAJ4wGFI60euFIR

Re: [Zope] Newbie: Missing a Variable (TAL/METAL Question)

2006-07-28 Thread Andreas Jung
--On 28. Juli 2006 06:45:34 -0700 beno - <[EMAIL PROTECTED]> wrote: I have done as you say and get this error: KeyError: '$var' Here are the code lines I added into the table: author content Please read carefully. There is no documentation that told you about "$var". You might use "

Re: [Zope] Newbie: Missing a Variable (TAL/METAL Question)

2006-07-28 Thread beno -
Right. My bad. However, that didn't work either :( The error was it couldn't find 'var'. So I tried 'item'. It couldn't find 'item'. So I tried this code:           tal:content="number">1 and it complained that it couldn't find 'number'. TIA, benoJens Vagelpohl <[EMAIL PROTECTED]> wrot

Re: [Zope] Newbie: Missing a Variable (TAL/METAL Question)

2006-07-28 Thread Andreas Jung
--On 28. Juli 2006 08:01:01 -0700 beno - <[EMAIL PROTECTED]> wrote: Right. My bad. However, that didn't work either :( The error was it couldn't find 'var'. So I tried 'item'. It couldn't find 'item'. So I tried this code: 1 and it complained that it couldn't find 'number'. *Please

[Zope] Re: Announcing the release of Zope version 2.8.8

2006-07-28 Thread Chris Withers
Hi All, Sidnei da Silva wrote: On Mon, Jul 24, 2006 at 12:51:00PM +0100, Chris Withers wrote: | PS: Sidnei: are you going to build the Windows installer for 2.9.4 or | shall I? Please do. Urm, well, it's got a bit complicated... I've had to give my MSDN license to someone who actually need

[Zope] Can't nest dtml-in using prefix ...

2006-07-28 Thread Jesper Steen Steffensen
This won't work:        Roles are matching    I get an error that says key error - outer_role doesn't exist.It doesn't matter if I prefix the inner dtml-in as well. (I've read it isn't necessary though)Why won't the prefix work for me? ___ Z

Re: [Zope] Newbie: Missing a Variable (TAL/METAL Question)

2006-07-28 Thread Dieter Maurer
beno - wrote at 2006-7-28 08:01 -0700: >Right. My bad. However, that didn't work either :( The error was it couldn't >find 'var'. I used "var" to indicate some variable. It was not meant that you use "var" literally... >So I tried 'item'. It couldn't find 'item'. So I tried this code: > >

Re: [Zope] Can't nest dtml-in using prefix ...

2006-07-28 Thread Alexis Roda
En/na Jesper Steen Steffensen ha escrit: This won't work: Roles are matching I get an error that says key error - outer_role doesn't exist. It doesn't matter if I prefix the inner dtml-in as well. (I've read it isn't necessary though) Why won't the prefix work fo

Re: [Zope] Can't nest dtml-in using prefix ...

2006-07-28 Thread David H
Jesper Steen Steffensen wrote: This won't work: Roles are matching I get an error that says key error - outer_role doesn't exist. It doesn't matter if I prefix the inner dtml-in as well. (I've read it isn't necessary though) Why won't the prefix work for me? G

Re: [Zope] Can't nest dtml-in using prefix ...

2006-07-28 Thread Jonathan
- Original Message - From: "David H" <[EMAIL PROTECTED]> To: "Jesper Steen Steffensen" <[EMAIL PROTECTED]> Cc: Sent: Friday, July 28, 2006 5:53 PM Subject: Re: [Zope] Can't nest dtml-in using prefix ... Why are you using DTML? Its a *dying art*. I can hardly look at it anymore :-)

[Zope] Can't nest dtml-in using prefix ...

2006-07-28 Thread Jesper Steen Steffensen
Give more info.  Define qry_user_roles and qry_roles as part of your question.Why are you using DTML?  Its a *dying art*.  I can hardly look at itanymore :-)DTML is depreciated in Zope (I think) and new people should go right toPage Templates and Python Scripts (Im sure). Can you code this in a Pyt

Re: [Zope] Newbie: Missing a Variable (TAL/METAL Question)

2006-07-28 Thread beno -
Dieter Maurer <[EMAIL PROTECTED]> wrote:If you use "repeat/variable" (again, "variable" is not meant literally,but *some* "variable"), then "variable" must be a repeat variabledefined by an enclosing 'tal:repeat="variable ..."'.If this is the case, then "repeat/variable/number" should work.Here is

Re: [Zope] Can't nest dtml-in using prefix ...

2006-07-28 Thread David H
Jesper Steen Steffensen wrote: Give more info.  Define qry_user_roles and qry_roles as part of your question. Why are you using DTML?  Its a *dying art*.  I can hardly look at it anymore :-) DTML is depreciated in Zope (I think) and new people should go right to Page Templa

Re: [Zope] Newbie: Missing a Variable (TAL/METAL Question)

2006-07-28 Thread Alexis Roda
En/na beno - ha escrit: Here is the error it throws as reported through the TTW: Site Error An error was encountered while publishing this resource. *KeyError* Sorry, a site error occurred. Traceback (innermost last): number is defined *only* in the block where you define it and enclosed

Re: Re: [Zope] how to use chinese character in zope 2.8.7

2006-07-28 Thread LYNN
Mark Barratt,您好! === 2006-07-27 20:08:27 您在来信中写道:=== > >LYNN wrote: >> zope,hi! >> >> i use zope2.8.7 in FC5 chinese edition, in ZMI i can input chinese ,but >> when i saved,the chinese character change to $#,i want to know how can i >> solve it.when chinese charac