RE: [Zope] Fetching data from external methods
FINALY, your code sould look like: In externalMethod: return res #ENTIRE obj DTML code: <dtml-let resDTML="LDAPsearch('666666','*',REQUEST)"> <dtml-var "resDTML.cn"> <dtml-var "resDTML.otherAttributes" </dtml-let> yeah, thanks a lot, it works, but i have still a liitle problem this might sound like newbie question ( but i don't really know) how i can <dtml-res> with input values like this <dtml-let resDTML="LDAPsearch(myinput,myinput2,REQUEST)"> myinput is data that i can type like search criteria in my search-form should i make somekind on handler-DTML? which picks up submitted data from my submitted form and puts them in <dtml-let>? PM jarkkov
how i can <dtml-res> with input values like this <dtml-let resDTML="LDAPsearch(myinput,myinput2,REQUEST)">
myinput is data that i can type like search criteria in my search-form
should i make somekind on handler-DTML? which picks up submitted data from my submitted form and puts them in <dtml-let>?
Nothing to do, will work... As an advice , from time to time, try: <dtml-var REQUEST> You will see a lot of interesting things [maybe you know that] PM
participants (2)
-
Jarkko Veijalainen -
Marcel Preda