[Zope] To retrieve properties from a dtml document
Ausum
ausum@mail.cosapidata.com.pe
Mon, 18 Dec 2000 21:10:54 -0500
Hello Andy, thanks for the advice.
It didn't work. Maybe I'm wrong at any point, so please tell me whether
it worked for you.
I'm aware that this problem has been discussed here before, that it
happens because of Python's object naming, and also that there's a
workaround at least (and just)for expressions, using _['whatever.html']
Due to the kind of workflow we have, we need all of the documents to be
editable with Dreamweaver at any moment, directly, after the daily WGET
process. Batch-replacing every "_html" with ".html" in file names and
content seems to be very complicated within this scenario.
Thanks again,
Ausum
Andy McKay wrote:
>
> Try
>
> <dtml-with thedocument.html>
> <dtml-var theproperty>
> </dtml-with>
>
> --
> Andy McKay, Developer.
> ActiveState.
>
> ----- Original Message -----
> From: "Ausum" <ausum@mail.cosapidata.com.pe>
> To: <zope@zope.org>
> Sent: Monday, December 18, 2000 3:39 PM
> Subject: [Zope] To retrieve properties from a dtml document
>
> > After some newbie researching I found that whenever I want to retrieve a
> > propertie from a dtml document I must use this:
> >
> > <dtml-var "thedocument.thepropertie">
> >
> > If thedocument is index_html or whatever_html it works fine, but how
> > could I retrieve a propertie from a document named whatever.html?
> >
> > We need to use the .html extension for every document because we want to
> > mirror the site using WGET, leaving the automation just on the
> > production stages, in order to upload static pages to our remote server.
> >
> > Any comment?
> >
> >
> >
> > Ausum
> >
> > _______________________________________________
> > Zope maillist - Zope@zope.org
> > http://lists.zope.org/mailman/listinfo/zope
> > ** No cross posts or HTML encoding! **
> > (Related lists -
> > http://lists.zope.org/mailman/listinfo/zope-announce
> > http://lists.zope.org/mailman/listinfo/zope-dev )
> >