The new way of doing this with XSLT transformations is to use the
�lazy-load-templates� param; defined with the module xml information of
the factory. Here is an example:
<maverick version="2.0" default-transform-type="xslt">
<modules>
<!-- Override the defaults for XSLTransformFactory
-->
<transform-factory type="xslt"
provider="org.infohazard.maverick.transform.XSLTransformFactory">
<limit-transform-param value="maxTransforms" />
<lazy-load-templates value="true"/>
</transform-factory>
</modules>
</...>
Note: This affects all the templates loaded of this type. An interesting
thing you can do is to define this as another type, say "xslt-lazy", and
use both types. :)
Note2: The param can also be used as an attribute of the parent node. It
doesn't need to be a sub-element.
I hope this helps,
Scott
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of jim moore
Sent: Saturday, February 09, 2002 1:44 PM
To: [EMAIL PROTECTED]
Subject: [Mav-user] preloadTemplates
Sorry about the last empty post--my cat jumped on the keyboard as I was
typing the email, and away it went...
�
Anyway, is there an equivalent for the preloadTemplates param from�mav�1
in mav 2? I've�got�this in my web.xml but it doesn't seem to�be having
any effect:
�
���<init-param>
���������<param-name>preloadTemplates</param-name>
���������<param-value>�false�</param-value>
��</init-param>
�
--jim
_______________________________________________
Mav-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mav-user