Zopistas! This Ain't That Hard!!
Hi; This is my THIRD post of this question, and I know it isn't that hard to answer, so p-l-e-a-s-e: Here's two lines of code from a Page Template: 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? TIA, beno
On Sunday 01 December 2002 13:06, beno wrote:
Hi; This is my THIRD post of this question, and I know it isn't that hard to answer, so p-l-e-a-s-e:
Here's two lines of code from a Page Template:
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?
You use the wrong namespace I think. I dunno whether it was script or context; did you try template.id alone? Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training
At 01:53 PM 12/1/2002 -0500, you wrote:
On Sunday 01 December 2002 13:06, beno wrote:
Hi; This is my THIRD post of this question, and I know it isn't that hard to answer, so p-l-e-a-s-e:
Here's two lines of code from a Page Template:
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?
You use the wrong namespace I think. I dunno whether it was script or context; did you try template.id alone?
That did it! Geez <:-) Thanks! beno
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
participants (3)
-
beno -
Geir Bækholt -
Stephan Richter