From: Andreas J. <svn...@pl...> - 2009-02-28 16:47:42
|
Author: ajung Date: Sat Feb 28 16:47:38 2009 New Revision: 81483 Modified: SignupSheet/branches/ajung-idg/content/signupsheet.py SignupSheet/branches/ajung-idg/skins/SignupSheet/signupsheet_view.pt SignupSheet/branches/ajung-idg/tests/testSetup.py Log: fixes Modified: SignupSheet/branches/ajung-idg/content/signupsheet.py ============================================================================== --- SignupSheet/branches/ajung-idg/content/signupsheet.py (original) +++ SignupSheet/branches/ajung-idg/content/signupsheet.py Sat Feb 28 16:47:38 2009 @@ -95,6 +95,7 @@ ), TextField('text', + accessor='getBodyText', required=True, searchable=True, primary=True, Modified: SignupSheet/branches/ajung-idg/skins/SignupSheet/signupsheet_view.pt ============================================================================== --- SignupSheet/branches/ajung-idg/skins/SignupSheet/signupsheet_view.pt (original) +++ SignupSheet/branches/ajung-idg/skins/SignupSheet/signupsheet_view.pt Sat Feb 28 16:47:38 2009 @@ -8,7 +8,7 @@ <div metal:define-macro="body"> <div class="description" tal:content="structure context/Description"/> - <div id="body-text" tal:content="structure context/text"/> + <div id="body-text" tal:content="structure context/getBodyText"/> <div tal:condition="context/getEarlyBirdDate"> <span class="label" i18n:translate="Early bird until">Early bird until</span>: Modified: SignupSheet/branches/ajung-idg/tests/testSetup.py ============================================================================== --- SignupSheet/branches/ajung-idg/tests/testSetup.py (original) +++ SignupSheet/branches/ajung-idg/tests/testSetup.py Sat Feb 28 16:47:38 2009 @@ -57,7 +57,7 @@ def testCreateSignupSheet(self): self.failUnless('signupsheet' in self.folder.objectIds()) self.failUnless(self.signupsheet.Title()=='signupsheet') - self.failUnless(self.signupsheet.getText()=='<p>One Great Event</p>') + self.failUnless(self.signupsheet.getBodyText()=='<p>One Great Event</p>') self.failUnless(self.signupsheet.Description()=='signup description') self.failUnless(self.signupsheet.getThankYouText()=='Thank you\n') self.failUnless(self.signupsheet.getRegistrantProlog()=='<p>Sign up</p>') |