[Zope] Picking up a parameter in a ZPT
Peter Bengtsson
peterbe at gmail.com
Fri Jun 17 11:33:28 EDT 2005
Try
python:here.parse_file(file=options['parm'],sepr=',',clone=1)">
On 6/17/05, John Poltorak <jp at warpix.org> wrote:
>
> I'm trying to work out how to pass parameters between various modules
> running under Zope and have got stuck.
>
> In the line below, I need to replace the word 'links' with a variable
> passed by the calling program
>
>
> python:here.parse_file(file=context.links,sepr=',',clone=1)">
>
> I know I can pass the variable using:-
>
>
> <dtml-var expr="test2(parm='links')">
>
>
> Just don't know how to reference it under ZPT.
>
>
>
> Help!
>
>
>
> --
> John
>
>
>
>
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
--
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
More information about the Zope
mailing list