Re: [Zope] TinyTable : filter query pb
-----Original Message----- From: Thierry Pasquier <thierry.pasquier@pictascience.org> To: zope@zope.org <zope@zope.org> Date: Friday, January 26, 2001 8:21 PM Subject: [Zope] TinyTable : filter query pb
usagers is a TinyTable
this, is ok : <dtml-call "REQUEST.set('usager','bruno')"> <dtml-in "usagers(ident=usager)"> ...
but, not this : why ? <dtml-call "REQUEST.set('usager',AUTHENTICATED_USER)"> <dtml-in "usagers(ident=usager)"> ...
i think you want <untested> <dtml-call "REQUEST.set('usager',AUTHENTICATED_USER.getUserName())"> </untested>
-- Thierry Pasquier centre de culture scientifique, technique et industrielle en
Poitou-Charentes
Espace Mendès France, Poitiers, tel 0549503300 - fax 0549413856 http://www.pictascience.org
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
On Fri, Jan 26, 2001 at 11:39:51PM +0800, Bak @ kedai wrote:
i think you want <untested> <dtml-call "REQUEST.set('usager',AUTHENTICATED_USER.getUserName())">
</untested>
Any way we can get this included in the Zope book? There's a section where they show using getUserName(), but this whole "AUTHENTICATED_USER is an object, not a string" business comes up pretty frequently. -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu
participants (2)
-
Bak @ kedai -
Mike Renfro