Subject: Re: [Zope-dev] Vairable Query of TinyTables
From: Jason Spisak <[email-masked]>
To: Martijn Pieters <[email-masked]>
Date: Wed, 10 Mar 1999 07:27:26 -0500

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

Thanks.

Jason Spisak
[email-masked]

>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:[email-masked] http://www.antraciet.nl/~mj
> | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
> ------------------------------------------