Hi Lukasz, what is the rationale behind refactoring out velocity support to a plugin? For which Struts version are you targeting this proposal?
Regards, René Am 18.11.13 20:38, schrieb Lukasz Lenart: > Hi, > > As I'm working in extracting Velocity support into a plugin, I have > faced a small problem: how to register alias to allow override > VelocityManager by user? > > Right now, it is done via BeanSelectionProvider [1] where each class > which can be aliased is defined statically and then the provider is > statically added in Dispatcher [2]. Now I need a way to allow define > the same but inside the plugin. > > The first idea is to define a new type of configuration file: > struts-aliases.xml but I would like to have a programmatic way, any > thoughts? > > [1] > https://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/config/BeanSelectionProvider.java?view=markup#l366 > [2] > https://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/dispatcher/Dispatcher.java?view=markup#l449 > > > Regards > -- René Gielen http://twitter.com/rgielen --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
