replace attributesSOFTWARE: tal
insert a dynamic value. (used a lot in templates in plone.) Concatenate with static valueThe trick here is to use "define" to define something (like a result from a batch operation) first, and then you can reference that value in your attributes replacement by using a python expression. Concatenation is then possible between a static string value (the first part of the url) and the dynamic value (the id) via the + operator.
MORE INFO: Mix Path Expresssion with Text in Tal:contentSOFTWARE: tal
To mix in some static text with a dynamic expression when using tal, do something like this:
So, it's all about using string: and ${} to designate your static stuff as opposed to your expression. MORE INFO: http://wiki.zope.org/ZPT/TutorialPart3 |