HI! im trying to add an folder an put something in methode, but it puts the folder in the same folder than the folder it should be in: NOT like this: /test01 /preview_image /show_link /elated_link /misc_files LIKE THIS: /test01 /preview_image /show_link /elated_link /misc_files and this script i use: <dtml-call "refClass.createInObjectManager(REQUEST['id'], REQUEST)"> <dtml-with "_[REQUEST['id']]"> <dtml-call "refFolder.createInObjectManager('preview_image', REQUEST)"> <dtml-call "refFolder.createInObjectManager('show_link', REQUEST)"> <dtml-call "refFolder.createInObjectManager('related_link', REQUEST)"> <dtml-call "refFolder.createInObjectManager('misc_files', REQUEST)"> </dtml-with> thx for help! soeren soerries
Soeren Soerries writes:
im trying to add an folder an put something in methode, but it puts the folder in the same folder than the folder it should be in:
NOT like this:
/test01 /preview_image /show_link /elated_link /misc_files
LIKE THIS:
/test01 /preview_image /show_link /elated_link /misc_files
and this script i use:
<dtml-call "refClass.createInObjectManager(REQUEST['id'], REQUEST)">
<dtml-with "_[REQUEST['id']]"> <dtml-call "refFolder.createInObjectManager('preview_image', REQUEST)"> <dtml-call "refFolder.createInObjectManager('show_link', REQUEST)"> <dtml-call "refFolder.createInObjectManager('related_link', REQUEST)"> <dtml-call "refFolder.createInObjectManager('misc_files', REQUEST)">
</dtml-with> If your ZClass happens to be callable, then the "with" above will be ineffective.
You may try: <dtml-with expr="_.getitem(REQUEST['id'])"> Not sure, whether this is your problem.... Dieter
participants (2)
-
Dieter Maurer -
Soeren Soerries