[Zope] <dtml..> show dynamic page

HT htan@gmx.de
Tue, 6 Aug 2002 13:33:23 +0800


thanks you.

it works.
I thtink, I don't find such usage of ( "_[pg]") in the zopebook.

Where can I find such documentation?

Best regards,
Heri

----- Original Message -----
From: "D. Rick Anderson" <ruger@comnett.net>
To: "HT" <htan@gmx.de>; <zope@zope.org>
Sent: Monday, August 05, 2002 4:57 PM
Subject: Re: [Zope] <dtml..> show dynamic page


> I think you can get what you want with:
>
> <dtml-var standard_html_header>
>    <dtml-var "_[pg]">
> <dtml-var standard_html_footer>
>
> Rick
>
>
> HT wrote:
>
> > Hi,
> >
> > I have problem understanding thte DTML document and hope some expert
help.
> >
> > examples:
> > The code below is found in my index_html
> > basically this index_html is wrapping 3 more documents which are
> > listed below in dtml-var.
> > This is fine and works well.
> > But please look at 2nd example:
> >
> > 1st example:
> > ---------------------
> > <dtml-var standard_html_header>
> >    <dtml-var my_content_page>
> > <dtml-var standard_html_footer>
> > -----------------
> >
> >
> > 2nd example of dynamicpage document
> >
> > ---------------------
> > <dtml-var standard_html_header>
> >    <dtml-var pg>
> > <dtml-var standard_html_footer>
> > -----------------
> >
> > The <dtml-var pg> contain dynamic pg variable.
> > At the present moment, I don't know what page, the user is selecting.
> >
> > Assume, the user select: http://myzope/dynamicpage?pg=userinfo
> >
> >
> > If I use the 2nd example, the <dtml-var pg> resolve the page as a
> > String instead of as document.
> > How to solve this?
> >
> >
> >
>
>