[Zope] how to get at proprety sheet values from xml-rpc
Roman Milner
roman@speeder.com
18 Sep 1999 04:18:10 -0500
Hello. I'm trying to do a demo of scription Zope with perl via
XML-RPC. I have a Zclass based product I've created. It has an
object-managerish type that has a propertysheet called tlp. tlp has a
field called 'status' that I want to retrieve with xml-rpc.
I can make an XML-RPC connection to the objectmanager object fine and
called it's methods (ie. objectIds()) but I can't figure out how to get
values out of that property sheet.
The best I have been able to come up with is to create a 'get_status'
DTML method in the object manager that just does <dtml-var status> but
I was hoping to retrieve the value without having to add any thing to
the product - thus proving that any zope site is scriptable via xml-rpc
without having to have planned it out in advance. And I'm sure it is
- I just don't know how :)
Thanks for any help.
^Roman