[Zope] Parameter syntax for page template output
Sean Kemplay
skemplay at iinet.net.au
Wed Mar 2 00:53:17 EST 2005
Could you set the id in the request before calling
context.some_folder.folder_contents()?
ie
request.set('id', 'test_id')
context.some_folder.folder_contents()
Sean
On Wed, 2005-03-02 at 01:33 -0400, David Pratt wrote:
> Hi. I am able to capture the content from a page template
> in a Script Python like this:
>
> template_html = context.some_folder.folder_contents()
>
> But I have a page template that I am wanting to capture output from
> that requires parameters passed
> - normally like this after the template name ?id=test_id
>
> Can someone suggest the correct syntax for doing this as in the example
> above. I am wanting to use
> a Script Python as opposed to wget or urllib
>
> Regards,
> David
>
> _______________________________________________
> 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 )
>
More information about the Zope
mailing list