i try to compare two variables to check if they are equal, like this : <dtml-if expr="PARENTS[0].id == AUTHENTICATED_USER"> <h2>YES !!</h2> <dtml-else> <h2>NO</h2> </dtml-if> but it seems to me this is never true. It always reports NO , even though the variables look equal to me when referenced with : <dtml-var "AUTHENTICATED_USER"> <dtml-var "PARENTS[0].id"> -they both report the same string.. i am thoroughly puzzled.. i think it might have something to do with AUTHENTICATED_USER not being a string, but appending ':string' just produces errors.. (i guess that isnt allowed inside expressions??) any ideas what i'm doing wrong ? ------------------------------------------------ Geir B Hansen geirh@funcom.com Web-designer / Graphic artist Funcom Oslo http://www.funcom.com ------------------------------------------------
participants (1)
-
Geir B Hansen