[Subversion] / PEAK / setup.py  

Revision 1327


Jump to revision:
Previous Next
Author: pje
Date: Wed Aug 6 21:59:37 2003 UTC (20 years, 7 months ago)

Log Message:

Added 'url.*' family of DOMlets.  'url.foo' causes the tag's 'foo'
attribute to be replaced with the absolute URL of the current traversal
location.  'url.foo+bar' caused the attribute 'foo:bar' to be replaced.
'url' alone replaces the contents of the tag, and 'url.notag' replaces
the entire element with just the URL.  (The spelling for these latter
behaviors may get tweaked a bit.)  Testing this shook a few typos and other
bugs out of the woodwork.  Also, this gives an example of how to create
a DOMlet factory that isn't a class, but a function that decides what class
to create.

Changed paths:

Path Action Text Changes Prop Changes Diff to Previous
PEAK/setup.py modified X   (diff to previous)
PEAK/src/peak/peak.ini modified X   (diff to previous)
PEAK/src/peak/web/places.py modified X   (diff to previous)
PEAK/src/peak/web/resources.py modified X   (diff to previous)
PEAK/src/peak/web/templates.py modified X   (diff to previous)
PEAK/src/peak/web/tests/template2.pwt added X X  
PEAK/src/peak/web/tests/test_resources.py modified X   (diff to previous)

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help