|[JET] More than one level of transformation overrides [message #755085]
||Mon, 07 November 2011 05:42
| Andrew Rouse
Registered: April 2011
Should it be possible to have three JET transformation projects where project A overrides project B, and project B overrides project C?|
When setting this up I run into problems.
The main.jet in A runs and ends with the line <c:include template="templates/main.jet" super="true"/>. This calls the main.jet in B which ends with the same line. This calls the main.jet in B again, rather than the main.jet in C as I expected.
This leads to a stack overflow as the main.jet in B is run over and over and nothing in C is ever called.
Looking further into the problem, there appear to be two symptoms:
- setDelegateLoader is not called on the template loader for B. This means that A delegates to B but B does not delegate to C
- using <c:include super="true"/> always trys to include templates in B, even if the calling template is itself in B.
Is this the expected behaviour?
Powered by FUDForum
. Page generated in 0.01570 seconds