[Zope] Zope Questions

hans hans@beehive.de
Tue, 07 May 2002 12:17:40 +0100


"George M. Ellenburg" wrote:

> I'm (slowly) learning Zope, and loving every bit of it, but have run into a
> few snags.  I'm quite comfortable with PHP, which I know is the source of a
> lot of my problems as Zope and PHP are two entirely different paradigms.
>
> There's just so much information on the Zope website, that I'm having a
> difficult time finding the answers to certain problems, which unfortunately
> have left me in somewhat of a quagmire.
>
> Can someone point me to the location where I might find more information on
> the following, with regards to Zope:

http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html

>  - Variable Passing through GET request
>
> Here's what I'm trying to do:
>         I'm trying to create a "tool-tip" (which is actually contained in a frame)
> and would like to pass a parameter to the DTML document which contains the
> HTML, etc. for the tool-tip.
>         Something like:
>         <a href="show_tip?a=b&amp;c=d">
>         Q: Is there a magical Zope variable that contains the arguments passed on a
> GET URI (as in PHP?)
>         Q: Must any variable be declared first?

the object is usually called request ( or REQUEST ),
ZPublisher marshals them for you
http://www.zope.org/Members/Zen/howto/FormVariableTypes

>  - "case" statement
>         Q: Does there exist the equivalent of a shell "case" statement in Zope?
>         (This is in line with my previous questions).

no
--
-------------------------------------------------------------
Who's got only a hammer sees the world as a nail
hans augustin  (software developer)           hans@beehive.de
beehive elektronische medien GmbH       http://www.beehive.de
phone: +49 30 847-82 0                  fax: +49 30 847-82 299