When in Velocity generating HTML
{{velocity}}
{{html}}
#foreaech()
#if(display instead of include is required)
{{display reference ='page that only works when using display'/}}
#else
#includeInContext(page that does not require display)
#end
{{/html}}
{{/velocity}}
What is the velocity macro (or code snippet) to make it work?
As documented the {{display}} or {{include}} does not work from within the velocity and/or
html macro. Documentation could maybe be improved by adding what to do when this calling
from within Velocity/html is required
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>