[Zope-dev] Bug patches and Product update

Anthony Pfrunder s341625@student.uq.edu.au
Tue, 5 Oct 1999 23:18:54 +1000 (GMT+1000)


Hi,

I have released a new version of the VisualZope Product (was VisualStudio
but a certain company in Redmond has a product with the same name...).

VZ now runs on top of and REQUIRES the following products:
	* XMLWidgets
	* Python Methods (with patch)
	* XMLDocument

This is a development release and is not complete - please use the old
version to build your widgets (the DTD has not changed) unless you are
borrowing / looking at the code.

Python Methods requires a simple patch to work.  For some reason methods
located within a ZClass crash upon creating a function with a self
parameter.  To fix this, goto the innermost line ref'd in the traceback
and delete the "...and len(cofunc...)..." bit.  Restart Zope.

XMLDocument has lots of bugs in it (sorry Amos ;) most of which are fixed
in the subclasses within VZ.  One which I haven't patched yet is
insertBefore(newchild, oldchild).  For some reason if you pass it
getFirstChild it will dup this node and then insert your newchild.

There is lots of interesting code showing how to call child ZClass methods
and Product supermethods, how to implement Product/Zclass conditional
callbacks and how to use the ZDOM to the max.  Useful stuff includes
subclassing from other products at product level and walking up the
aquisition tree to generate custom Add Object palettes.  Nasty things are
done to the aq_* metaattributes and some things will make you scream - so
be warned!

Please install it as per the instructions located @
http://www.zope.org/Members/NoneToBe/VisualStudio/new_html

Cheers,

Anthony Pfrunder