Hi,

I have a question. I really don't know how to solve
this problem. I have 

<ul>
 <li tal:define="links python:{
  'Catalog/index.html':'Catalog',
  'Users/index.html':'Users',
  'Orders/index.html':'Orders'}"
   tal:repeat="item links/items">
   <a href="" 
 tal:attributes= "href          
  string:${container/absolute_url}/${python:item[0]}"
 tal:content="python:item[1]">link name</a>
 </li>
</ul>

this is _of course_ not working because of
${python:item[0]}. It's illegal. But with this
expression I want to show what I want to do: I want to
add a python expression to a string. 

How can I do this??? 

Thanks,
Ferhat

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to