velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Thelian <Martin.Thel...@gmx.at>
Subject Tools 2.0 / VelocityLayoutServlet / loadConfiguration
Date Thu, 03 Jul 2008 16:49:48 GMT
Hi,

I'd link to migrate from Velocity tools version 1.3 to version 2.0. With 
version 1.3 it was possible to change the root-URL of the 
URLResourceLoader by simply overwriting the method 
"loadConfiguration(ServletConfig config).", e.g.
>     @Override
>     protected ExtendedProperties loadConfiguration(ServletConfig 
> config) throws IOException {
>         ExtendedProperties props = super.loadConfiguration(config);
>         props.addProperty("url.resource.loader.root",this.customURL);
>         return props;
>     }
With version 2.0 this seems not to be possible anymore. What is the best 
way to do the same with the new tools version?

Thanks.
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message