Subfolders in LocalFS
I'm trying to get the content of a subfolder from a directory structure using LocalFS doing the following : <dtml-in expr="Pictures['subfolder1']['subfolder2']['subfolder3'].fileItems()"> <dtml-var id> </dtml-in> So far, everything looks fine... The actual problem is that I'm not able to enter a subfolder defined in a variable way. It works out fine when there is only one subfolder : <dtml-call "REQUEST.set('location','Summer')"> <dtml-in expr="Pictures[Summer].fileItems()"> <dtml-var id> </dtml-in> but what to do if we need a subfolder's subfolder ? We can try typing : <dtml-call "REQUEST.set('location','Summer/Vacation')"> <dtml-in expr="Pictures[Summer].fileItems()"> <dtml-var id> </dtml-in> to get the content of the Summer/Vacation folder... But this fails in ZOPE ! Can someone show me the light please. Thanks, Thierry
participants (1)
-
Bogemans, Thierry [PRDBE]