[Zope] Two more questions
Goldthwaite, Joe
joe at goldthwaites.com
Tue Dec 2 21:27:12 EST 2003
have an unsupported operand for nothing :~{
P.S. Tim, sorry for sending this message twice. When I reply it goes
directly to the source instead of the list and I forget to type the
zope at zope.org before I send it.
-----Original Message-----
From: Tim Zegir [mailto:trzegir at ncable.net.au]
Sent: Tuesday, December 02, 2003 6:48 PM
To: joe at goldthwaites.com
Subject: RE: [Zope] Two more questions
Hi Joe,
I had another look and realized I was doing the wrong thing ;)
Try this instead.
<tr tal:repeat="python:here.GetISLines(FY=request.FY;Per=request)">
From
Tim Zegir
-----Original Message-----
From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On Behalf Of
Goldthwaite, Joe
Sent: Wednesday, 3 December 2003 12:23 PM
To: zope at zope.org
Subject: RE: [Zope] Two more questions
Thanks Tim,
It didn't work. I get a SyntaxError o=request;Per=request"?
-----Original Message-----
From: Tim Zegir [mailto:trzegir at ncable.net.au]
Sent: Tuesday, December 02, 2003 5:46 PM
To: joe at goldthwaites.com
Subject: RE: [Zope] Two more questions
Sorry about the last email :)
In answer to the second question
Try something like this:
<tr tal:repeat="item python:GetISLines?FY=request">
>From Tim Zegir
-----Original Message-----
From: zope-bouncele header to show up;
<span tal:replace="structure here/IS_Ptd_Header"></span>
This works fine. The problem I've run into is when I want to use tal
tags
in the header like this;
Income Statement for period <span
tal:replace="request/Per">Period</span>
If I have this line in the Income Statement, I get the Per parameter
from
the URL. The same line in IS_Ptd_Header gets ignored so the resulting
page
shows "Income Statement for period period". I thought that maybe the
tal
tags were beingies = ""):
c = ISLines(FY, Per, CatType, Categories)
return c.DefLines
I've been doing all my testing using the default arguments with this tal
tag;
<tr tal:repeat="item here/GetISLines">
I need to pass in the URL parameters but I can't figure out how to do
it.
<tr tal:repeat="item here/GetISLines(request.FY)"> doesn't work.
Nothing
else I've tried works either. How do you pass parameters to an external
function?
Thanks.
Joe Goldthwaite
________________________________tp://mail.zope.org/mailman/listinfo/zope-dev )
More information about the Zope
mailing list