RE: [Zope] Passing a list through a url
You can pass each item in the Querystring like (untested): <dtml-call "REQUEST.set('redirectURL', 'Destination?')"> <dtml-in myListe> <dtml-call "REQUEST.set('redirectURL', redirectURL + "myList=" + _['sequence-item'] + '&')"> </dtml-in> <dtml-call "RESPONSE.redirect(redirectURL)"> Hope this help! Jean-François Ménard Intranet DPAS Pratiques d'affaires et orientations * (514) 840-3000 poste 3939 * (514) 840-5585 * menard.jean-francois@hydro.qc.ca * 855 Ste-Catherine est, 6e étage Montréal, Qué. H2L 4P5 -----Message d'origine----- De : belen@netcom.no [mailto:belen@netcom.no] Envoyé : mercredi 18 avril 2001 12:32 À : zope@zope.org Objet : [Zope] Passing a list through a url I need to pass a list through a url. Is there anyway to do it? I receive a list from a DTML document and I need to pass it again to a method. I have verified that the intermediate document receives a list but when the last method retrieves it the type is string. I can cast it to be a list by : <dtml-call "RESPONSE.redirect('Destination?myList:list'+`myList`)"> but <dtml-var mylist> renders ["[x]"] where I have a list containing a string. Any ideas? Thanks Belen _______________________________________________ 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 )
participants (1)
-
Menard.Jean-Francois@hydro.qc.ca