Jarkko Veijalainen wrote:
> My method outputs are:
>
> res = (contains search result using forms input values)
> sn = res.sn (one of the values in res-object)
> return sn
^^^^^^^^^
that should be 'return res'
...then the following will work:
> <dtml-in "LDAPsearch('666666','*',REQUEST)">
> <dtml-var sn>
> </dtml-in>
> this works
> <dtml-var "LDAPsearch('666666','*',REQUEST)">
...because that displays sn, which is what you're returning!
> 1) how i can input values in LDAPsearch(how i input here)
Don't understand what you want here...
> 2) i don't have any control of return value, it returns list like
> this
> ('Ukko', '666666', 'oEmail')
you should be able to <dtml-in> over whatever is returning that...
Chris
_______________________________________________
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 )