"dynamic" dtml-with from string content
Niels Dettenbach <nd-ImmFMecdQhFWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.web.zope.general |
|---|---|
| Organization | Syndicat IT&Internet |
| Message-ID | <5187473.5nti0Z3SMq@gongo> |
Dear all, has somebody an idea here?: I try to define a property "my_class_path" (string) on a folder and want to use that within a dtml-with statement - i.e.: my_class_path is i.e. "folder1.folder_sub" <dtml-with "folder1.folder_sub"> seems to work, but i cant find any easy way to to use the content of the string my_class_path within the with statement. If i just have a single folder to get aquisition from, i just can use something like: <dtml-with "_[my_class_path]"> but if i have deeper pathes in my_class_path the this doesnt work. I just can do directly: <dtml-with "_['folder1']['folder_sub']"> but i can't just put "_['folder1']['folder_sub']" into my_class_path too - this didn't works too... It seems i have some tomatoes on my eyes. Can anyone push me back on the track here? Many thanks in advance... best regards, Niels. -- --- Niels Dettenbach Syndicat IT&Internet http://www.syndicat.com/ _______________________________________________ Zope maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iQIcBAABCAAGBQJPPlODAAoJEM78prARigUnDMAQAJMSHC6l/MstMkrre7aPVK4U 1bjq0uplVnk0JC9XLC9AGrKT0eDd/l+sOKLBTI+GPGwDaDtVVANXkzLGThvpZUjv m4Unl4mDzi8uqHPrIbKWka9rluEoAsYh5RHvn3wKTlMWavkcPRxxWLSjHfuuNiky SbQPs+NJueBJ+Zyg04FgeJfqkrMKyCVYHRI9eNjl1SHfaIrvn4eW80VjtcO5wWvB Uot39EZj7TnyPKtjTJ5pYqVkeU7uiUGH/LvxthAFwcTrapSWBmv2KgygJOzCQq9Y ElNwQ4ST7GNNwsOaUzOjbG6yIVXAz7Miw7MpS0HsI23JXxJTItuG+IMKE4tbUTyz Lc3KoAmIq7n4qJI4FTaSUAp86djoRTV3/YZ/4lvdET/UqyjMtrg81bkCTKoE2uWH cJmamLiPCohZ3XjtUzs+UeRUwH6JiaqH8aKfOL565G2cNaU/UmorOkjEIuflUUHR f4LcnBejGHP0m1dNyydBInnwHeFXfp9nWMX2EAy1P4LGLEJprVKB8b7chGcmnuCa BogXVElLhIr3PGnbpg31VSiu7CcqnEGhUcMkfkwXhyknBXVj7ohPDRX4QV6d7hvB Nf8Cb1MAC8H11UkzYvn2BppW4Dbztsz9+rTsqYsEqjh5pb8Xv3OwONtR+vmZZA+h MRfdFzVB3OGkYe+KNPVZ =lwHP -----END PGP SIGNATURE-----