[Zope-dev] Vairable Query of TinyTables

Martijn Pieters mj@antraciet.nl
Wed, 10 Mar 1999 10:13:02 +0100


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
------------------------------------------