On Fri, Sep 08, 2006 at 01:45:45PM +0200, Philipp von Weitershausen wrote:


> Write a new TALES expression type (like string: or python:) that constructs 
> link tags. 
> This could like:
>   <a tal:replace="structure link:context/url context/urldescription">
>     link goes here
>   </a>
> The link: expression would split the argument string, take the first part as 
> the URL and 
> the second one as the link description. Both would be fed through the 
> PathExpression so 
> that they're evaluated.
> Custom TALES expression types are components providing 
> zope.tales.interfaces.ITALESExpression. Look at zope.tales.expressions for 
> the 
> implementation of the standard TALES expressions.

Perfect :-) . That's what I'll do.

Thank you,

Zope3-users mailing list

Reply via email to