Changeset 146 for waeup_product


Ignore:
Timestamp:
3 Nov 2005, 09:32:52 (19 years ago)
Author:
joachim
Message:

=fixed Title in Student

Location:
waeup_product/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/Accommodation.py

    r103 r146  
    6363    security = ClassSecurityInfo()
    6464   
     65##    security.declareProtected(View,"Title")
     66##    def Title(self):
     67##        """ the Title """
     68##        return self.heading
     69       
     70   
    6571InitializeClass(Accommodation)
    6672
  • waeup_product/trunk/Students.py

    r139 r146  
    5151    security = ClassSecurityInfo()
    5252   
    53     security.declareProtected(View,"getTitle")
    54     def getTitle(self):
    55         """compose title"""
    56         content = self.PERSONAL.getContent()
    57         return "%s %s" % (content.firstname,content.lastname)
     53##    security.declareProtected(View,"Title")
     54##    def Title(self):
     55##        """compose title"""
     56##        content = self.PERSONAL.getContent()
     57##        return "%s %s" % (content.firstname,content.lastname)
    5858       
    5959InitializeClass(Student)
Note: See TracChangeset for help on using the changeset viewer.