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)"> ... -- 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
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 | \--------------------------------------/
participants (2)
-
Aleksander Salwa -
Thierry Pasquier