Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install products.xmlwidgets

How to install Products.XMLWidgets

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install products.xmlwidgets
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.13.1 Available View build log
Windows (64-bit)
0.13.1 Available View build log
Mac OS X (10.5+)
0.13.1 Available View build log
Linux (32-bit)
0.13.1 Available View build log
Linux (64-bit)
0.13.1 Available View build log
 
License
BSD
Lastest release
version 0.13.1 on Jan 5th, 2011

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

System Message: WARNING/2 (<string>, line 54)

Bullet list ends without a blank line; unexpected unindent.

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

System Message: WARNING/2 (<string>, line 64)

Bullet list ends without a blank line; unexpected unindent.

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

System Message: WARNING/2 (<string>, line 74)

Bullet list ends without a blank line; unexpected unindent.

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

System Message: WARNING/2 (<string>, line 104)

Bullet list ends without a blank line; unexpected unindent.

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

System Message: WARNING/2 (<string>, line 108)

Bullet list ends without a blank line; unexpected unindent.

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

System Message: WARNING/2 (<string>, line 121)

Bullet list ends without a blank line; unexpected unindent.

Silva editor anymore.

0.8.5

Features Added:

  • render and renderElements now have behavior of renderCached and

System Message: WARNING/2 (<string>, line 129)

Bullet list ends without a blank line; unexpected unindent.

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

System Message: WARNING/2 (<string>, line 139)

Bullet list ends without a blank line; unexpected unindent.

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

System Message: WARNING/2 (<string>, line 148)

Bullet list ends without a blank line; unexpected unindent.

method called cached() on the widget.

0.8.2

Bugs Fixed:

  • Workaround for strange security bug of page templates on Zope2.5.1

System Message: WARNING/2 (<string>, line 156)

Bullet list ends without a blank line; unexpected unindent.

(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

System Message: WARNING/2 (<string>, line 171)

Bullet list ends without a blank line; unexpected unindent.

ParsedXML.

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:2

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.