[Zope] PARENTS
giaco
johanesw@citeweb.net
Mon, 17 Sep 2001 16:13:03 +0200
--=====================_446967595==_.ALT
Content-Type: text/plain; charset="iso-8859-1"; format=flowed
Content-Transfer-Encoding: quoted-printable
hello all,
a question :
I've this...
<dtml-with "mptrois.news.materiel">
<dtml-with "mptrois.news.logiciels">
<dtml-with "mptrois.news.actualite">
<dtml-in "objectValues(['mptrois_guide_fiche'])" sort=3D"fiche_date"=
size=3D"1"=20
reverse>
...
but i its works only on the last item.
SO :
i want to do that :
<dtml-with "mptrois.news">
<dtml-with "PARENTS[-1]">
to have a list after the end of the first "with" and browse in a forder.
-news (an instance class called news)
* actu (an instance class of news called news_actu)
* soft
* hard
etc
THX a lot
GiaK
(from paris h=E9h=E9)
--=====================_446967595==_.ALT
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
hello all,<br><br>
a question :<br>
I've this...<br><br>
<dtml-with "mptrois.news.materiel"><br>
<dtml-with "mptrois.news.logiciels"><br>
<dtml-with "mptrois.news.actualite"><br><br>
<dtml-in "objectValues(['mptrois_guide_fiche'])"
sort=3D"fiche_date" size=3D"1" reverse><br>
...<br><br>
<i>but i its works only on the last item.<br><br>
</i><b>SO :<br>
</b>i want to do that :<br><br>
<dtml-with "mptrois.news"><br>
<dtml-with "PARENTS[-1]"><br><br>
<br>
to have a list after the end of the first "with" and browse in
a forder.<br><br>
-news<x-tab> </x-tab><x-tab> &=
nbsp; </x-tab>(an
instance class called news)<br>
* actu<x-tab> </x-tab>(an instance class of news called
news_actu)<br>
* soft<br>
* hard<br><br>
<br>
etc<br><br>
THX a lot<br><br>
GiaK<br>
(from paris h=E9h=E9)</html>
--=====================_446967595==_.ALT--