[Zope-CVS] CVS: Products/QueueCatalog/dtml - add.dtml:1.2 edit.dtml:NONE
Shane Hathaway
shane@cvs.zope.org
Thu, 5 Sep 2002 17:21:05 -0400
Update of /cvs-repository/Products/QueueCatalog/dtml
In directory cvs.zope.org:/tmp/cvs-serv5774/dtml
Modified Files:
add.dtml
Removed Files:
edit.dtml
Log Message:
- Allowed the user to configure the list of indexes to defer. By
deferring only text indexes, we can get most of the advantages of
the catalog queue without having to make applications aware of the
catalog queue.
- Carefully avoided using old acquisition wrappers when retrieving the
ZCatalog from the cache, and renamed the cache variable to
_v_catalog_cache.
- Avoided calling __init__ more than once, which is bad style.
- Defined an exception class so we don't mask TypeErrors.
- The catalog location should not be confined to superValues();
removed this assumption. The catalog can be at an arbitrary path.
- _update(): Allowed uids to be relative physical paths. ZCatalog
works fine with relative paths and we very much need relative paths.
- Renamed _zcatalog_method to _is_zcatalog_method for clarity.
- getZCatalog(): fixed improper reuse of the variable "ZC".
- Used a real security declaration as opposed to
__allow_access_to_unprotected_subobjects__.
=== Products/QueueCatalog/dtml/add.dtml 1.1 => 1.2 ===
--- Products/QueueCatalog/dtml/add.dtml:1.1 Tue Aug 6 12:55:33 2002
+++ Products/QueueCatalog/dtml/add.dtml Thu Sep 5 17:21:04 2002
@@ -34,18 +34,10 @@
<tr>
<td align="left" valign="top"><div class="form-label">
- Catalog Instance
+ Catalog Location
</div></td>
<td align="left" valign="top"><div class="form-element">
- <select name="location">
- <dtml-in expr="superValues(['ZCatalog'])">
- <dtml-let cat_path="'/%s' % absolute_url(1)">
- <option value="&dtml-cat_path;">
- &dtml-title; (&dtml-cat_path;)
- </option>
- </dtml-let>
- </dtml-in>
- </select>
+ <input type="text" name="location" size="40" />
</div></td>
</tr>
=== Removed File Products/QueueCatalog/dtml/edit.dtml ===