[Zope] Zopistas! This Ain't That Hard!!
Geir Bækholt
Geir Bækholt
Sun, 1 Dec 2002 19:57:06 +0100
Hello beno,
Sunday, December 1, 2002, 7:06:26 PM, you wrote:
> This is Page Template <em tal:content="template/id">template id</em>.<br><br>
> <p tal:replace="structure
> python:here.theFrame(here.size(),`here.template.id`)" />
> In the latter line I want to call the same_variable referenced in the
> former line (template/id or template.id). How do I do it?
if i understand you right, can't you do :
<p tal:replace="structure python:here.theFrame(here.size(),template.id)" />
or
<p tal:define="theid template/id"
tal:replace="structure python:here.theFrame(here.size(),template.id)" />
or
<p tal:replace="structure
python:here.theFrame(here.size(),path('template.id'))" />
:)
--
Geir Bækholt geir@funcom.com
Tools/HCI-developer
Tools/Billing - Product Operations
Funcom Oslo