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/

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Zope maillist  -  Zope@zope.org
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 )

Reply via email to