Skip to main content

XMLWidgets

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).

Credits

Main developer:

Developers:

Valuable feedback from:

Changes

0.13.1 (2008/09/30)

  • Reformat documentation to ReST for an egg release.

0.13

Bugs Fixed:

  • 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.

0.12

Bugs Fixed:

  • 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.

0.11

Bugs Fixed:

  • Make use of TAL.TALInterpreter.TALInterpreter.StringIO() for safe string concatenation. This will make Silva compatible with PlacelessTranslationService.

0.10.3

Bugs Fixed:

  • _getDocumentKey was not used on all places where it should have.

0.10.2

Bugs Fixed:

  • Made the info tab load properly by adding a security declaration.

0.10.1

Features Added

  • Added homepage.html.

0.10

Features Added:

  • 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).

Bugs Fixed:

  • The cache compact() method would not work correctly.

0.9

Features Added:

  • Rewritten caching system. Now cache is stored globally and not on Silva editor anymore.

0.8.5

Features Added:

  • 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.

0.8.4

Bugs Fixed:

  • 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.

0.8.3

Bugs Fixed:

  • Instead of checking for an attribute cached it is now calling a method called cached() on the widget.

0.8.2

Bugs Fixed:

  • Workaround for strange security bug of page templates on Zope2.5.1 (by Clemens Klein-Robbenhaar)

0.8.1

Features Added:

  • Cleanup of ZMI tabs.

0.8

Initial Release:

  • Initial public release of the completely rewritten XMLWidgets for ParsedXML.

Metadata

Release files for Products.XMLWidgets 0.13.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Products.XMLWidgets 0.13.1
File Size Uploaded
Products.XMLWidgets-0.13.1.tar.gz 20.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Products.XMLWidgets 0.13.1
File Interpreter ABI Platform
Products.XMLWidgets-0.13.1-py2.4.egg Legacy Egg format - - Details

Total release size: 67.1 kB

Release files / Products.XMLWidgets-0.13.1.tar.gz

Download URL Products.XMLWidgets-0.13.1.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6dee1b656e38f341bb3227c133cd3f0e6091617229720a4b9c131f8334df78cd
BLAKE2b-256 checksum
How to use checksums
6cb58bf7ec4caa8e135e69f00809dfbebc1848e512b8e6a6323dd7b6ccac3a3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / Products.XMLWidgets-0.13.1-py2.4.egg

Download URL Products.XMLWidgets-0.13.1-py2.4.egg
Size 46.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
1b33aa39b5f8c1a0e830d3169a169c3503d182b88f80f8d224cf886fd039f910
BLAKE2b-256 checksum
How to use checksums
8aa4b1cbe87b4f46ffd734232b48cb44b891fd9845f9a53b776d1eeabd01f176
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.13.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page