Re: [Zope] TinyTable : filter query pb
On Fri, Jan 26, 2001 at 11:39:51PM +0800, Bak @ kedai wrote: > i think you want > > > > 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 -- [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] TinyTable : filter query pb
-Original Message- From: Thierry Pasquier <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Friday, January 26, 2001 8:21 PM Subject: [Zope] TinyTable : filter query pb >usagers is a TinyTable > >this, is ok : > > >... > >but, not this : why ? > > >... i think you want > >-- >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 - [EMAIL PROTECTED] >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 ) > ___ Zope maillist - [EMAIL PROTECTED] 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 )
Re: [Zope] TinyTable : filter query pb
On Fri, 26 Jan 2001, Thierry Pasquier wrote: > usagers is a TinyTable > > this, is ok : > > > ... > > but, not this : why ? > > Because 'bruno' is a string, while AUTHENTICATED_USER is an instance of some class (when used in it is automatically converted to string - user's id in that case). Try AUTHENTICATED_USER.getId(). [EMAIL PROTECTED], [EMAIL PROTECTED] /--\ | `long long long' is too long for GCC | \--/ ___ Zope maillist - [EMAIL PROTECTED] 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 )