Hi Thomas,
This is good help, thank you.
But still the fenomenon is the same; the first call to the macro fails with the
same error message about inline
THe code looks like this;
{{include document=CdLSAssociations.Macros/}}
{{velocity wiki=true}}
#set($attachments = $doc.attachmentList)
On Wed, Dec 22, 2010 at 10:57, Gerritjan Koekkoek
gerritjankoekk...@gmail.com wrote:
Hi Thomas,
This is good help, thank you.
But still the fenomenon is the same; the first call to the macro fails with
the same error message about inline
THe code looks like this;
{{include
Hi Thomas,
This solved the problem!
But I do not really understand.
{{Include...}} and {{velocity}} should be seperated by a empty line.
But how did that create the error on the first call to macro only, all the
following calls executed very well?
Gerritjan
Op 22 dec 2010, om 12:38 heeft Thomas
On Wed, Dec 22, 2010 at 18:21, Gerritjan Koekkoek
gerritjankoekk...@gmail.com wrote:
Hi Thomas,
This solved the problem!
But I do not really understand.
{{Include...}} and {{velocity}} should be seperated by a empty line.
But how did that create the error on the first call to macro only, all
A good trick to see exactly what happen is tu put wiki=false in your
velocity macro so that you see the exact result of velocity execution.
On Mon, Dec 20, 2010 at 16:18, Gerritjan Koekkoek
gerritjankoekk...@gmail.com wrote:
Thx,
The Inline versus Block makes sense.
It fixes almost my problem
Hi
I get this error (Failed to execute the [html] macro) if I change the following:
#macro(ShowFlag $CountryCode)
#set($ImageExtension = '.png')
#set($CountryCodeFile = $CountryCode + $ImageExtension)
{{html}}
img src=../../download/CdLSAssociations/FlagAttachments/$CountryCodeFile
Hi,
I don't know if it is the answer but in your copie of the code, you type
\div in place of /div.
Regards,
Maxime
2010/12/20 Gerritjan Koekkoek gerritjankoekk...@gmail.com
Hi
I get this error (Failed to execute the [html] macro) if I change the
following:
#macro(ShowFlag $CountryCode)
Thx,
The Inline versus Block makes sense.
It fixes almost my problem
The \div versus /div was a typo, not really creating the macro error. It just
displayed the \div statement
So now the macro seems to work with one strange problem...
I call the macro in a foreach statement.
It fails the first
On 12/20/2010 04:18 PM, Gerritjan Koekkoek wrote:
Thx,
The Inline versus Block makes sense.
It fixes almost my problem
The \div versus /div was a typo, not really creating the macro error. It just
displayed the\div statement
So now the macro seems to work with one strange problem...
I