Re: [Zope] "dynamic" dtml-with from string content

2012-02-17 Thread Niels Dettenbach
Am Freitag, 17. Februar 2012, 15:15:23 schrieben Sie:
> varx = 'this is the text"
>  =  = 'this is the text"
> 
> varxx = 'varxy'
>  =  = 'this is the text"
> 
> my_class_path is i.e. "folder1.folder_sub"
> 
> so:
> 
>  
>  
> ..your code
> 
> 

This is very nice too - thanx! ;)

best regards,


Niels.


-- 
---
Niels Dettenbach
Syndicat IT&Internet
http://www.syndicat.com/

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 )


Re: [Zope] "dynamic" dtml-with from string content

2012-02-17 Thread Jaroslav Lukesh

varx = 'this is the text"
 =  = 'this is the text"

varxx = 'varxy'
 =  = 'this is the text"

my_class_path is i.e. "folder1.folder_sub"

so:



..your code



Some tips:

'/path/to/your/document',None).title">


google: dieter chap3 zope


- Puvodní zpráva - 
Od: "Niels Dettenbach" 


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"



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:



but if i have deeper pathes in my_class_path the this doesnt work.

I just can do directly:

 

but i can't just put "_['folder1']['folder_sub']" into my_class_path too -
this didn't works too...


___
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 )


[Zope] "dynamic" dtml-with from string content

2012-02-17 Thread Niels Dettenbach
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"



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:

 

but if i have deeper pathes in my_class_path the this doesnt work.

I just can do directly:

  

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/

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 )