[Zope] [Fwd: [Zope-dev] Vairable Query of TinyTables]

Jason Spisak webmaster@mtear.com
Wed, 10 Mar 1999 07:44:21 -0500


This is a multi-part message in MIME format.
--------------AAF88E2DDEBDA15484C1770F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

 
--------------AAF88E2DDEBDA15484C1770F
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Message-ID: <36E6652E.220B4EF3@mtear.com>
Date: Wed, 10 Mar 1999 07:27:26 -0500
From: Jason Spisak <webmaster@mtear.com>
X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686)
MIME-Version: 1.0
To: Martijn Pieters <mj@antraciet.nl>
Subject: Re: [Zope-dev] Vairable Query of TinyTables
References: <4.1.19990310100907.00bd7100@lisp.atmm.nl>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Worked like a charm!  I am obviously new to objects. ;-)

Thanks.

Jason Spisak
webmaster@mtear.com

>Martijn Pieters wrote:
> 


> At 22:59 09/03/99 , Jason Spisak wrote:
> >By variable query I mean for example:
> >
> >
> ><!--#var standard_html_header-->
> ><!--#in "recruiter_data(AUTHENTICATED_USER)"-->
> ><!--#var wagner--><br>
> ><!--#/in-->
> ><!--#var standard_html_footer-->
> >
> >Believe it or not, it doesn't choke, it just gives me nothing.
> 
> TinyTables act like dictionary objects I think, and are keyed on strings.
> AUTHENTICATED_USER is not a string, but an object, so you'll have to
> convert it. Try calling AUTHENTICATED_USER.getUserName() instead.
> 
> --
> M.J. Pieters, Web Developer
> | Antraciet http://www.antraciet.nl
> | Tel: +31-35-6254545 Fax: +31-35-6254555
> | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
> | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
> ------------------------------------------

--------------AAF88E2DDEBDA15484C1770F--