17 Feb
2012
17 Feb
'12
2:41 p.m.
Am Freitag, 17. Februar 2012, 15:15:23 schrieben Sie:
varx = 'this is the text" <dtml-var "_['varx']"> = <dtml-var varx> = 'this is the text"
varxx = 'varxy' <dtml-var "_[varxy]"> = <dtml-var varx> = 'this is the text"
my_class_path is i.e. "folder1.folder_sub"
so:
<dtml-with "_[_.string.split(my_class_path, '.')[0]]"> <dtml-with "_[_.string.split(my_class_path, '.')[1]]"> ......your code </dtml-with> </dtml-with>
This is very nice too - thanx! ;) best regards, Niels. -- --- Niels Dettenbach Syndicat IT&Internet http://www.syndicat.com/