XMLWidgets is a Zope 2 product used to create through the web viewers and editors of ParsedXML content.
XMLWidgets can be used to create through the web viewers and editors of XML content, stored in ParsedXML.
Note: I don’t expect people to understand XMLWidgets without far more information. For now, perhaps an example would help. Silva’s editor is such an example, so you could install Silva and play with it (see especially the service_widgets directory, and note the scripts in service_setup to register any new widgets).
The XMLWidgets Editor Service is added just once to a Zope system and should be called service_editor. It is a singleton which provides a number of facilities for viewers and editors.
The XMLWidgets Registry is used to register widgets (usually simple Zope folders with content such as page templates and python scripts). Currently they don’t become equipped with any user interface, so you must use Python Scripts to configure them. The XMLWidgets Editor Service then can use this information to render documents (possibly in editor mode).
- Martijn Faassen <firstname.lastname@example.org>
- Jan-Wijbrand Kolman <email@example.com>
Valuable feedback from:
- Kit Blake <firstname.lastname@example.org>
- Reformat documentation to ReST for an egg release.
- Now that Silva uses Five for i18n, we can get rid of various compatibility hacks to work around PlacelessTranslationService’s broken unicode support. We essentially go back to 0.10.3’s version of EditorSupport.py.
- Also provide facility to use the TALInterpreter’s StringIO() for joins within widget code. This makes Silva more compatible with PlacelessTranslationService’s rather horrible approach to unicode handling.
- Make use of TAL.TALInterpreter.TALInterpreter.StringIO() for safe string concatenation. This will make Silva compatible with PlacelessTranslationService.
- _getDocumentKey was not used on all places where it should have.
- Made the info tab load properly by adding a security declaration.
- Added homepage.html.
- More rewrites of the caching system. The cache can now be attached to an arbitrary Zope folder, which mainly facilitates the sharing of the cache in a ZEO Cluster setup.
- The maximum cache size now is configureable by using the edit tab of the EditorService object (in Silva this object has service_editor for its id).
- The cache compact() method would not work correctly.
- Rewritten caching system. Now cache is stored globally and not on Silva editor anymore.
- render and renderElements now have behavior of renderCached and renderElementsCached – these previous versions still exist for backwards compatibility but will be removed at some point so please switch over to using render and renderElements in your code.
- Fixed memory leak; instead of setting node as direct attribute of request, node is set with dictionary notation. This seems to eliminate a memory leak.
- Instead of checking for an attribute cached it is now calling a method called cached() on the widget.
- Workaround for strange security bug of page templates on Zope2.5.1 (by Clemens Klein-Robbenhaar)
- Cleanup of ZMI tabs.
- Initial public release of the completely rewritten XMLWidgets for ParsedXML.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|Products.XMLWidgets-0.13.1-py2.4.egg (46.7 kB) Copy SHA256 Checksum SHA256||2.4||Egg||Sep 30, 2008|
|Products.XMLWidgets-0.13.1.tar.gz (20.4 kB) Copy SHA256 Checksum SHA256||–||Source||Sep 30, 2008|