[Zope-Checkins] SVN: Zope/trunk/lib/python/ZClasses/dtml/addZClass.dtml added deprecation warning

Andreas Jung andreas at andreas-jung.com
Thu Dec 22 14:05:59 EST 2005


Log message for revision 40987:
  added deprecation warning
  

Changed:
  U   Zope/trunk/lib/python/ZClasses/dtml/addZClass.dtml

-=-
Modified: Zope/trunk/lib/python/ZClasses/dtml/addZClass.dtml
===================================================================
--- Zope/trunk/lib/python/ZClasses/dtml/addZClass.dtml	2005-12-22 18:27:11 UTC (rev 40986)
+++ Zope/trunk/lib/python/ZClasses/dtml/addZClass.dtml	2005-12-22 19:05:58 UTC (rev 40987)
@@ -21,6 +21,14 @@
                  and   selected or [])
        ),
     )">
+
+<div style="border: 1pt solid red;margin-top: 1em; margin-bottom: 1em; padding: 1em;">
+ZClasses are a deprecated feature and should no longer be used for new projects.
+<br/>
+Instead use either through-the-web scripting with Zope Page Templates,
+PythonScripts etc. or write a Zope product.
+</div>
+
 <dtml-with "_(unselected=_.reorder(all, without=selected))">
 <form action="&dtml-URL1;" method="get">
 <table cellspacing="0" cellpadding="2" border="0">



More information about the Zope-Checkins mailing list