2010
15.02

With a small modification of the @formula-directive, the formula can now assign a freemarker variable as a Vector. You can do this by using the the parameter name. By setting the name parameter, the formula will not output its result to the page, but assign it instead to a variable.

Example:


<@formula name="_myformula">
@DbColumn("Notes":"Cache";"";"viewDocumentTags";1)
</@formula>

<#list _myformula as v>
Value is ${v}
</#list>



The plan is to use this trick for the Archive on the right, but I have to wait for this change to wind its way trough a proper release before I can use it. It is scheduled for a 6.0.7 release.


No Comment.

Add Your Comment