[Zope-Checkins] CVS: Zope/lib/python/Products/ZCTextIndex/dtml - manageZCTextIndex.dtml:1.7

Shane Hathaway shane@cvs.zope.org
Thu, 5 Sep 2002 16:41:14 -0400


Update of /cvs-repository/Zope/lib/python/Products/ZCTextIndex/dtml
In directory cvs.zope.org:/tmp/cvs-serv32247/dtml

Modified Files:
	manageZCTextIndex.dtml 
Log Message:
Changed ZCTextIndex to store a lexicon ID rather than a physical path to the
lexicon.  Before this, it was not safe to move, rename, or mount in a
different location a ZCatalog containing a ZCTextIndex.

In general, we need to avoid physical paths when a simple ID will suffice.


=== Zope/lib/python/Products/ZCTextIndex/dtml/manageZCTextIndex.dtml 1.6 => 1.7 ===
--- Zope/lib/python/Products/ZCTextIndex/dtml/manageZCTextIndex.dtml:1.6	Wed Aug 14 17:43:46 2002
+++ Zope/lib/python/Products/ZCTextIndex/dtml/manageZCTextIndex.dtml	Thu Sep  5 16:41:13 2002
@@ -11,9 +11,9 @@
 </p>
 <p class="form-help">
   ZCTextIndex Lexicon used: 
-  <dtml-if getLexiconPath>
-    <a href="<dtml-var getLexiconPath>/manage_main"
-    ><dtml-var getLexiconPath></a>
+  <dtml-if getLexiconURL>
+    <a href="<dtml-var getLexiconURL>/manage_main"
+    ><dtml-var getLexiconURL></a>
   <dtml-else>
     <em>(Lexicon Not Found)</em>
   </dtml-if>