-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Bear wrote:
> If I have a zpt called 'stuff' and I call it from a web browser with a url
> like this
>
> http://myzopeserver.com/stuff?item1=x?item2=y
>
> how do I get at the item1 and item2 parameters?
ITEM 1 GOES HERE
Tres.
- --
==
If I have a zpt called 'stuff' and I call it from a web browser with a url
like this
http://myzopeserver.com/stuff?item1=x?item2=y
how do I get at the item1 and item2 parameters?
--
David Bear
College of Public Programs/ASU
411 N Central, Phoenix, AZ 85004
did you try;
something = context.REQUEST.form['target']
somepage = context.REQUEST['URLPATH1'] #may be URL1
some_page_template = context[somepage]
rendered_html = some_page_template(context, somevariable=something)
I'm writing from (faulty) memory here so context[somepage]
may not work. If it does
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ryan Smith wrote:
> Tres - I am 98% sure I found the source of my problem. I thought I
> was getting a copy of something back, when really I was getting a
> pointer to it. So I was changing the catalog. I am still slightly
> confused as to how it f
Hello list,
can someone give me a good example about the sintax for the product
ZpCron? ( http://www.zope.org/Members/janik/ZpCron )
It should be cron-like syntax:
1 * * * * Username /zope/path/to/script
So far I didn't have any success...
Thanks a lot,
Giampiero
_
Tres - I am 98% sure I found the source of my problem. I thought I
was getting a copy of something back, when really I was getting a
pointer to it. So I was changing the catalog. I am still slightly
confused as to how it fixed itself (probably was due to data being
cached).
In my code I have -
>
> My output was using a KeywordIndex, with 'and' as the operator.
>
> I noted when reading your earlier description that your code was testing
> the value of the 'getAccess' entry in the *metadata*, not in the index:
> in fact, you don't need an index at all to do the filtering in that
> code. Ca