Re: [Zope] Defining a Variable

2008-01-05 Thread Dieter Maurer
Victor Subervi wrote at 2008-1-4 10:59 -0400: Thank you both. However, it still doesn't work :( I have replaced getQuote with getQuote(), but to no avail. Other ideas? *Error Type: RuntimeError Error Value: external method could not be called because it is None* You see here how important it is

Re: [Zope] Defining a Variable

2008-01-05 Thread Victor Subervi
That was too wierd. I deleted the External Varible, then re-added it, and all worked well! Now, I just built this new server and transfered over the Data.fs files. Maybe that was the problem?? Thanks, Victor On Jan 5, 2008 3:11 PM, Dieter Maurer [EMAIL PROTECTED] wrote: Victor Subervi wrote at

Re: [Zope] Defining a Variable

2008-01-04 Thread Victor Subervi
Thank you both. However, it still doesn't work :( I have replaced getQuote with getQuote(), but to no avail. Other ideas? *Error Type: RuntimeError Error Value: external method could not be called because it is None* *TIA,* *Victor* On Jan 3, 2008 2:26 PM, Dieter Maurer [EMAIL PROTECTED] wrote:

Re: [Zope] Defining a Variable

2008-01-04 Thread David Bear
On Wed, Jan 02, 2008 at 02:44:24PM -0400, Victor Subervi wrote: Hi; I have this in a page template: html body table tr td tal:define=num python:here.scripts.getQuote span metal:use-macro=here/en-us/quotes/?num/macros/quote /br / div align=center span class=text a

Re: [Zope] Defining a Variable

2008-01-03 Thread Dieter Maurer
Victor Subervi wrote at 2008-1-2 14:44 -0400: ... html body table tr td tal:define=num python:here.scripts.getQuote As Andreas already has pointed out, you probably need getQuote() rather than getQuote (as the name suggests, it is a method not a value). span

[Zope] Defining a Variable

2008-01-02 Thread Victor Subervi
Hi; I have this in a page template: html body table tr td tal:define=num python:here.scripts.getQuote span metal:use-macro=here/en-us/quotes/?num/macros/quote /br / div align=center span class=text a href=quotes.pt target=_topbThe quotes/b/a /span /div /td /tr /table

Re: [Zope] Defining a Variable

2008-01-02 Thread Andreas Jung
--On 2. Januar 2008 14:44:24 -0400 Victor Subervi [EMAIL PROTECTED] wrote: td tal:define=num python:here.scripts.getQuote As in nearly all other programming languages methods are called with parentheses - or? span metal:use-macro=here/en-us/quotes/?num/macros/quote /br / Now,