[Zope3-checkins] CVS: Zope3/src/zope/app/browser/services - edituser.pt:1.6

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Mar 8 07:07:06 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/services
In directory cvs.zope.org:/tmp/cvs-serv13930/src/zope/app/browser/services

Modified Files:
	edituser.pt 
Log Message:


Fixed it up, so that the tests will pass. I will remove the module next.




=== Zope3/src/zope/app/browser/services/edituser.pt 1.5 => 1.6 ===
--- Zope3/src/zope/app/browser/services/edituser.pt:1.5	Thu Aug  7 13:41:03 2003
+++ Zope3/src/zope/app/browser/services/edituser.pt	Mon Mar  8 07:07:04 2004
@@ -8,7 +8,7 @@
 
   <h1 i18n:translate="">
     User id: 
-    <span tal:replace="context/getId" i18n:name="user_id">12</span>
+    <span tal:replace="context/id" i18n:name="user_id">12</span>
   </h1>
 
   <form action="." method="post" enctype="multipart/form-data">
@@ -17,7 +17,7 @@
       <div class="label" i18n:translate="">Title</div>
       <div class="field">
         <input type="text" name="title" size="60" value=""
-               tal:attributes="value context/getTitle" />
+               tal:attributes="value context/title" />
       </div>
     </div>
 
@@ -25,7 +25,7 @@
       <div class="label" i18n:translate="">Description</div>
       <div class="field">
         <textarea name="description" rows="10" cols="60"
-                  tal:content="context/getDescription" />
+                  tal:content="context/description" />
       </div>
     </div>
 
@@ -51,9 +51,9 @@
           <tal:block tal:repeat="role view/getAvailableRoles"
                      tal:define="user_roles context/getRoles"> 
             <option
-              tal:attributes="value role/getId;
-                              selected python:role.getId() in user_roles"
-              tal:content="role/getTitle" />
+              tal:attributes="value role/id;
+                              selected python:role.id in user_roles"
+              tal:content="role/title" />
           </tal:block>
         </select>
       </div>




More information about the Zope3-Checkins mailing list