I want to access numerous methods/functions on a zope server via Javascript.
Zope has xml "built-in" right? So must I write my own XML output?
For now, I wrap the existing functions like so:
<?xml version="1.0" encoding="utf-8" ?>
<ajaxresponse xmlns:tal="http://xml.zope.org/namespaces/tal" >
<response type="object" id="clientDetails">
<client tal:repeat="row
python:here.client_lookup(clientid=request.clientid)">
<fname tal:content="python:row.fname1">fname1</fname>
<lname tal:content="python:row.lname1">lname1</lname>
</client>
</response>
</ajaxresponse>
I know i'm missing the obvious here so please, somebody, hit me over the head
with it.
Thanks.
_______________________________________________
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )