3 Feb
2000
3 Feb
'00
9:44 a.m.
Dennis Moore wrote:
I've got an LDAP method called 'getuser' which simply returns all the information for a particular userid. This part seems to work ok. I am having a really weird problem with trying to use the information I get from it, though:
<dtml-call "REQUEST.set('userid', 'someone')">
<dtml-in getuser> <dtml-call "REQUEST.set('foo', departmentnumber)"> </dtml-in>
<dtml-if "foo == 'RU168'">
try "_.str(foo) == 'RU168'" foo is probably something that is 'RU168' after converting to string. This conversion is done automatically on output but not when comparing --------------- Hannu