[Zope] Re: Calling Scripts with arguments from ZPT and XML-RPC
    darkness 
    darkness-gmane at caliginous.net
       
    Wed Sep 24 04:16:32 EDT 2003
    
    
  
On Wed, 24 Sep 2003 08:26:04 +0200, Max M wrote:
> Is this what you are looking for?
> 
> <span tal:replace="python:here.MyScript(request['theArg'])" />
> 
> the same as
> 
> <span tal:define="theArg request/theArg"
>        tal:replace="python:here.MyScript(theArg)" />
> 
> 
> regards Max M
	Unfortunately, no.  I was really hoping that there was some implicit
manner by which request variables (form variables) were passed to scripts
when called via a TALES path.  I was hoping to avoid "python:" paths, with
the end goal of having no "code" in the template.
darkness
    
    
More information about the Zope
mailing list