[CMF-checkins] CVS: Products/CMFCore/www - typeinfoAliases.zpt:1.3.24.1 typesAliases.zpt:1.3.24.1

Yvo Schubbe y.2004_ at wcm-solutions.de
Tue Sep 7 04:48:24 EDT 2004


Update of /cvs-repository/Products/CMFCore/www
In directory cvs.zope.org:/tmp/cvs-serv20024/CMFCore/www

Modified Files:
      Tag: CMF-1_5-branch
	typeinfoAliases.zpt typesAliases.zpt 
Log Message:
Merged yuppie-ti_aliases-redo-branch:
- replaced getMethodPath and getMethodURL by queryMethodID


=== Products/CMFCore/www/typeinfoAliases.zpt 1.3 => 1.3.24.1 ===
--- Products/CMFCore/www/typeinfoAliases.zpt:1.3	Tue Jul 15 11:50:47 2003
+++ Products/CMFCore/www/typeinfoAliases.zpt	Tue Sep  7 04:47:54 2004
@@ -1,6 +1,6 @@
-<h1 tal:replace="structure here/manage_page_header">Header</h1>
+<h1 tal:replace="structure context/manage_page_header">Header</h1>
 <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
-    tal:replace="structure here/manage_tabs">Tabs</h2>
+    tal:replace="structure context/manage_tabs">Tabs</h2>
 
 <h3>Method Aliases</h3>
 
@@ -13,7 +13,7 @@
   <th>Alias</th>
   <th>Method</th>
  </tr>
- <tr tal:repeat="key here/listMethodAliasKeys">
+ <tr tal:repeat="key context/listMethodAliasKeys">
   <td>
    <input type="text" name="" size="18" value=""
      tal:attributes="name string:aliases.${repeat/key/index}:record;
@@ -22,7 +22,7 @@
   <td>
    <input type="text" name="" size="27" value=""
      tal:attributes="name string:methods.${repeat/key/index}:record;
-                     value python:here.getMethodURL(key) or ''" />
+                     value python:context.queryMethodID(key, '')" />
   </td>
  </tr>
  <tr>
@@ -62,4 +62,4 @@
   instead.</dd>
 </dl>
 
-<h1 tal:replace="structure here/manage_page_footer">Footer</h1>
+<h1 tal:replace="structure context/manage_page_footer">Footer</h1>


=== Products/CMFCore/www/typesAliases.zpt 1.3 => 1.3.24.1 ===
--- Products/CMFCore/www/typesAliases.zpt:1.3	Tue Jul 15 11:50:47 2003
+++ Products/CMFCore/www/typesAliases.zpt	Tue Sep  7 04:47:54 2004
@@ -1,6 +1,6 @@
-<h1 tal:replace="structure here/manage_page_header">Header</h1>
+<h1 tal:replace="structure context/manage_page_header">Header</h1>
 <h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
-    tal:replace="structure here/manage_tabs">Tabs</h2>
+    tal:replace="structure context/manage_tabs">Tabs</h2>
 
 <h3>Method Aliases Chart</h3>
 
@@ -11,7 +11,7 @@
 <table cellspacing="0" cellpadding="2" border="0">
  <tr class="list-header">
   <th align="left">Alias</th>
-  <th tal:repeat="key here/listMethodAliasKeys">
+  <th tal:repeat="key context/listMethodAliasKeys">
    <input type="text" name="" size="18" value=""
      tal:attributes="name string:aliases.${repeat/key/index}:record;
                      value key" />
@@ -20,7 +20,7 @@
    <input type="text" name="aliases.new:record" size="18" value="" />
   </th>
  </tr>
- <span tal:define="tis python:sequence.sort( here.listTypeInfo(),
+ <span tal:define="tis python:sequence.sort( context.listTypeInfo(),
                                              ( ('getId',), ) )"
    tal:repeat="ti tis" tal:omit-tag=""><tr class=""
    tal:attributes="class python:repeat['ti'].odd() and 'row-normal'
@@ -30,10 +30,10 @@
         tal:attributes="href string:${ti/absolute_url}/manage_aliases"
         tal:content="ti/getId">id</a>
   </th>
-  <td tal:repeat="key here/listMethodAliasKeys">
+  <td tal:repeat="key context/listMethodAliasKeys">
    <input type="text" name="" size="18" value=""
      tal:attributes="name string:${ti/getId}.${repeat/key/index}:record;
-                     value python:ti.getMethodURL(key) or ''" />
+                     value python:ti.queryMethodID(key, '')" />
   </td>
   <td>
    <input type="text" name="" size="18" value=""
@@ -69,4 +69,4 @@
   instead.</dd>
 </dl>
 
-<h1 tal:replace="structure here/manage_page_footer">Footer</h1>
+<h1 tal:replace="structure context/manage_page_footer">Footer</h1>



More information about the CMF-checkins mailing list