John Poltorak wrote:
On Fri, Jun 17, 2005 at 05:07:32PM -0400, Paul Winkler wrote:
On Fri, Jun 17, 2005 at 08:24:23PM +0100, John Poltorak wrote:
Is there also something which explains how to call ZPTs from a DTML
I'm unable to pick up a passed parameter.
This is what I've conjured up:-
hoping that "options['parm']" would get resolved as "ABC" but it doesn't.
John, please, *always* provide tracebacks instead of saying things
like "it doesn't".
Without a traceback, everything I say below is guesswork.
I'm assuming the above line comes from a page template.
You neglected to mention what the calling DTML looks like,
but I *guess* that it was something like this:
This is what I have:-
I wish to get 'myobjectname' into this line in 'testlist' which is marked
There must be a simple way of doing this, but I haven't come across an
example of it and I've spent most of the day on it.
Taking the options from my previous email and putting them together, you
to get the attribute on the current context named 'myobjectname' or
whatever else you provide as the 'parm' parameter on 'testlist'.
The ellipsis is just to eliminate elements unnecessary to the point.
"Building Websites with Plone"
Enfold Systems, LLC
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -