velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anton Tonchev <>
Subject Are inline macros cached somewhere?
Date Mon, 28 Aug 2006 12:52:28 GMT

I have the following problem:

I have two pages userRequests.vm and vendorRequests.vm.

The first one has userRequests.vm:
#macro( requestItemActions $requestId )
        <user specific actions>

And the second one vendorRequests.vm:
#macro( requestItemActions $requestId )
        <vendor specific actions>

The file that is included (includes/requestView.vm) contains an
interation over some items and calls the macro requestItemActions for
each item.

The problem is that the inline defined macro is somewhat cached
because after the first parse of the temlate it is remambered and in
both pages (vendorRequest.vm and userRequest.vm) is used the same

Do you have any idea why it is not working?

I tried with the
but it still isn't working.

Thanks in advance.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message