[ZPT] Newbie ... Hi to all and questions

Evan Simpson evan@digicool.com
Thu, 31 May 2001 14:01:12 -0500


From: "Lynn Walton" <waltonl@franklin.edu>
> First let me say thanks to Evan for all his work on this project.
Keep
> that documentation coming! <g>

Thanks.

> try the batch example, the link for the Next 3 doesn't seem to work.

What URL is generated for the link?

> Two questions I have ... is there a way to do something like this from
> http://www.zope.org/Members/Caseman/client_script_howto

I recommend using a Script.  Something like:

##parameters=scripts
if not scripts:
  return ''
js = context.java_scripts
print '<SCRIPT language="JavaScript"><!--'
for sname in scripts:
  print js[sname]
print '//--></SCRIPT>'
return printed

...used with:

<div tal:replace="structure python:here.gather_scripts(['script1',
'script2'])">Scripts</div>

Cheers,

Evan @ digicool