On Thu, 2002-03-21 at 13:29, Gareth Coltman wrote:
> All,
>
> Here is the patch for the default resolver to allow use of any template
> extension.
>
> In tr.props specify as:
>
> template.default.extension = myext
In T3 this is more a property of the view mechanism, so I'm not sure
this is the best place ... but i understand the problem. Will look into
it.
> i.e. NO period.
>
> Gareth
>
>
>
> cvs diff DefaultResolver.java (in directory
> C:\jakarta-turbine-3\src\java\org\apache\turbine\pipeline\)
> Index: DefaultResolver.java
> ===================================================================
> RCS file:
> /home/cvspublic/jakarta-turbine-3/src/java/org/apache/turbine/pipeline/Defau
> ltResolver.java,v
> retrieving revision 1.13
> diff -r1.13 DefaultResolver.java
> 232c232
> < String extension = ".vm";
> ---
> > String extension =
> Turbine.getConfiguration().getString("template.default.extension");
> 262c262
> < pckage.append("Default").append(extension);
> ---
> > pckage.append("Default").append(".").append(extension);
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
jvz.
Jason van Zyl
[EMAIL PROTECTED]
http://tambora.zenplex.org
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>