26 Jan
2001
26 Jan
'01
3:18 p.m.
On Fri, 26 Jan 2001, Thierry Pasquier wrote:
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)">
Because 'bruno' is a string, while AUTHENTICATED_USER is an instance of some class (when used in <dtml-var AUTHENTICATED_USER> it is automatically converted to string - user's id in that case). Try AUTHENTICATED_USER.getId(). ololo@zeus.polsl.gliwice.pl, oleks@helper.pl /--------------------------------------\ | `long long long' is too long for GCC | \--------------------------------------/